12-15-2013 08:00 AM
Hi all,
i am newbie about labview but i have a lot of experience using c#.
My company bought a compactRIO hardware. My company have two programmers. One guy expert in labview and me. However, the labview developer resigned some days ago. So i have to show some progress. I want your help.
Using Ni-MAX, i can see the compactRIO.
I read a lot of stuff, and download Measurement Studio 2013 and i studied some examples but i want to clarify some parts in my mind
My boss wants from me only one thing. To get data from cRIO. Can you direct me to study the correct examples or any other sample if you have, how to succeed the data acquisition from cRIO ?
best regards
pbrx
12-16-2013 08:03 AM
any news ?
12-16-2013 11:21 AM
Hello pbrx,
Please see the CompactRIO (cRIO) developers guide here: http://www.ni.com/compactriodevguide/.
To retrieve data from your cRIO modules, you will need to interface with the cRIO's Scan Engine using LabVIEW FPGA. You can then use either a LabVIEW or C application on the cRIO Real-Time controller to access data returned by your LabVIEW FPGA code.
Thanks,
12-16-2013 05:09 PM
hmm... i understand
Do you have any working sample using Labview or using C (because i know only c#) to send me ?
12-16-2013 06:02 PM
i am starting to read the guide, thank you, very helpful
i see that the best solution is labview. So if you have any sample/example with labview it will be great
My first thought (please correct if i am wrong) is to get data from cRIO and after that to save them as ascii in file using the internal 4gb storage of cRIO or using the hard disk of a host pc.
1st question :
If i save them in a text file in the internal storage of cRIO, how can i access this file ?
Is this a good solution or it is better to save them in the host pc (performance ??)
2nd question :
Until now my company have bought only the labview Development System. Do we need to buy these modules for this scope of project ??
1. Real-time module
2. Application Builder
3. Advanced Signal Processing Toolkit
(please if you want to move this post in another area , go ahead)
12-17-2013 05:01 PM
Hi pbrx
The best solution is to save the data in the host PC and keep the cRIO just acquiring the data. And transferring the data using network shared variables.
If you want to program the RT Controller using LabVIEW you’ll need the Real-Time Module, we also have LabWindows CVI RT if you want to program the controller using C language. Also if you want to program the FPGA you’ll need LabVIEW FPGA module.
Since this thread is for Measurement Studio for .NET Languages I recommend you to create a new thread in the proper area ( RT & FPGA) to get more accurate information.