Jump to content

Recommended Posts

Posted

Hello,

I use SD card to log process variables to CSV file. For each file i first create CSV row with constant text to create collumn titles. I have to pressure values in my project, so when I try to name the column as P1 (bar), brackets are not displayed in CSV file, so the result is just P1 bar, is it a property of CSV file or a property of Visilogic? Maybe i need to use a specific delimiter to be able to use brackets?

 

Please give me an advice. Thank you!

Posted

You should be able to use brackets without issue. I tested using both ASCII strings and static text variables when creating a delimited line for header titles. I used the default delmiters of a comma and a NULL.

 

How are you naming the headers?

Posted

In my country we use ";" as a delimiter. I tried to use delimiters HEX 28 and 29 which are ( and ) but did not give a result.

Check my project subroutine SD configuration, net 5, Would be easier than words. The way it is right now, it doesnt display brackets in .csv file.

Thank you!

GJJ.vlp

Posted

I opened your project and the logic that was in net 5 wasn't being executed at all. MB7 was being reset before this net could be triggered. I swapped net 4&5 and then I was able to trigger that line to write the the SD card. It also included the brackets for the P1 (bar) and P2 (bar).

 

Excel Delimited Line Brackets

 
The issue may be with how your version of Excel is opening the file.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.