Log a trend to a file continuously using LabView?

Ask questions about Delta’s ActiveX and .NET Assembly for communicating with RMCs

Log a trend to a file continuously using LabView?

Postby ndzied1 » Sat Feb 03, 2018 8:10 pm

Hello,

I'm looking for an example of continuous logging to a file in LabView for a testing system we are working on. The Delta example provided in LabView is very nice but while it has a button to save data to a file, it is currently not implemented.

My hope was to setup a plot in RMCTools and then just use the RMC Read Trend block in LabView to spit out the data that I could log using the Write Measurement to File block. But the Read Trend block seems to spit data out in chunks so when it gets put into the data file it's not in a format that can later be pulled out to show the graph.

Now I'm pretty new to LabView so I'm hoping I'm just missing something.

Any help or examples of continuously logging a trend to a data file in LabView greatly appreciated.
Thanks,
Norm
ndzied1
 
Posts: 72
Joined: Wed Oct 13, 2010 8:34 am

Re: Log a trend to a file continuously using LabView?

Postby wenjen » Wed Feb 21, 2018 4:52 am

You can use Indirect Data Map in RMC, assign the data you want to log in series.
Then, using "read floats.vi " in Labview and set the address which is same as defined in RMC.
Next, using "index array function" the data can be read individually.
Hope this can help you

Allen

1.PNG
1.PNG (25.29 KiB) Viewed 504 times


2.PNG
2.PNG (62.25 KiB) Viewed 504 times
wenjen
 
Posts: 8
Joined: Sat Feb 20, 2016 6:42 am

Re: Log a trend to a file continuously using LabView?

Postby ndzied1 » Thu Feb 22, 2018 12:16 am

Thanks,

I did it a little differently. By investigating the different sub-vi's in the delta stuff I found the right manipulation of the output of the read plot block to be able to log and plot the data.
LV.PNG
LV.PNG (102.82 KiB) Viewed 493 times
ndzied1
 
Posts: 72
Joined: Wed Oct 13, 2010 8:34 am


Return to RMCLink

Who is online

Users browsing this forum: No registered users and 0 guests

cron