vamalgise Posted March 7, 2016 Report Posted March 7, 2016 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!
Alexander Posted March 7, 2016 Report Posted March 7, 2016 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?
vamalgise Posted March 8, 2016 Author Report Posted March 8, 2016 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
Alexander Posted March 8, 2016 Report Posted March 8, 2016 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). The issue may be with how your version of Excel is opening the file.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now