04-16-2021 08:06 AM
why is "log at completion" in operations meny grey (also print at completion and data logging).
I am using cRIO
thanks for answers
Solved! Go to Solution.
04-18-2021 11:08 AM
Hi Jock,
@JockHansen wrote:
why is "log at completion" in operations meny grey (also print at completion and data logging).
I am using cRIO
Because the cRIO doesn't support those features!?
Why do you need those features at all?
04-19-2021 01:40 AM
Hi Gerd,
Thanks for very clear answer to that 😉
I was interested because I am trying to establish a file (xl, csv or the like) saving facility for app 20 parameters with 1 sec - so ending with a sheet with 20 columns and row for each sec - the file starting at my command. I couldn't find out how to - and saw that option, hoping it would help me.
For you info, I was using Labview 15-20 years ago and now trying again, without knowledgeable colleagues to ask - so I am relying a lot on help from community etc.
My starter vi looks like this (also added as a file) - and I would like to save the data that goes into the Waveform chart to also go to a file (csv, xl, txt) - would be grateful if you can show me how that can be made in a simple way
with the risk of overloading you with info - here's some general on my situation and task:
I have contact with the analog and digital modules, so my focus is now the Modbus/TCP that I am struggling with. (if you can help me with that too - i would be the more thankful - or if you can point me in the right direction)
thanks,
Jørn
04-19-2021 01:51 AM
Hi Jock,
@JockHansen wrote:
For you info, I was using Labview 15-20 years ago and now trying again
A lot has changed in these 15-20 years, inside and outside of LabVIEW.
There are completely different OS, which you use to run LabVIEW.
There are completely different targets (like your cRIO9056), where you run LabVIEW on…
Keep in mind: your cRIO CANNOT access the harddrive of your host computer!
@JockHansen wrote:
My starter vi looks like this (also added as a file) - and I would like to save the data that goes into the Waveform chart to also go to a file (csv, xl, txt) - would be grateful if you can show me how that can be made in a simple way
The "simple way" is to use the WriteDelimitedSpreadsheet function, which creates a txt/csv file, but with some overhead.
The "better way" is to use plain file functions (Open, WriteText, Close) and to format your data using some string functions on your own (FormatIntoString, ArrayToSpreadsheetString).
You really should stay away from XLS* files on the cRIO, as there is no Excel running on these targets…
@JockHansen wrote:
Ethernet NI 9871 (to read Modbus/TCP from Endress&Hauser Liquiline 448 with 5pH-sensors and 2 O2-sensors)
I have contact with the analog and digital modules, so my focus is now the Modbus/TCP that I am struggling with.
Modbus/TCP is quite easy once you use one of those (free!) Modbus libraries available in VIPM. Basically it is just "sending a request and reading the response", which is already implemented in those libraries.
(On cRIO I tend to use my own implementation as usually you just need to send one very specific request and parse one specific response to/from such Modbus devices.)