09-11-2019 11:28 AM
Hi,
I am new for Measurement studio. I want to create a project that will create a GUI with C# and acquire data over PXI Express, but I do not know the configuration. As I understand so far, I will run Measurement Studio on a PC which is connected to PXIe over Ethernet, and the GUI part of the project will run on the PC and data acquisition part will run on PXIe, is this correct? Do I need to have LabVIEW for this running on PXIe? Would you please someone clarify these, or refer me a document that explains all these?
Kind Regards,
Tayfun Ozdemir
Solved! Go to Solution.
09-30-2019 12:44 PM
Hi tayfis,
The GUI part of the project can be created using Measurement Studio elements, but Measurement Studio is not a separate program that will run on your PC or controller. It functions as an add-on to Visual Studio. You have it right that you can have the GUI part of the project run on the PC and data acquisition part run on PXIe and that you can connect these with Ethernet. You don't necessarily need LabVIEW to run the DAQ program on the controller, unless the controller uses a Real Time operating system.
Best,
09-30-2019 01:40 PM
Hi Claire,
Thanks for this info. Today, I also leaned that measurement studio can not be used to get real-time data
as well. But I see some examples that measurement studio can plot some acquired data on from PXI,
how it can do it if it does not get the real-time data from PXI?
Kind regards,
Tayfun Ozdemir
09-30-2019 02:01 PM
Hi Tayfun,
Data acquired on the real-time PXI can be sent to a program using Measurement Studio to display the data using a variety of methods. It cannot be used in the application on the controller though.
Best,
09-30-2019 04:32 PM
Hi Claire,
This is what I want to see, that is, data acquired on the real-time PXI can be sent to a program using
Measurement Studio to display the data using a variety of methods, but the question is how. the one
method is that I have some NI documents and they say that Measurement studio can access PXI analog
data input via NI-DAQmx, for example voltage, and explains step by step what to do, but I can not see
the PXI channels and stuck there. I will give you 2 links:
http://zone.ni.com/reference/en-XX/help/375857A-01/xml/daqwalkthrough2005/
https://www.distek.com/blog/daqmx-measurement-studio/
I appreciate if you could tell me what the problem is, whether I am missing to install a add-on software or
doing something wrong?
Kind regards.
09-30-2019 04:55 PM
Hi Tayfun,
As I understand it, one of my colleagues is already working with you on this in a Service Request. If you give him a call or send him an email, he can walk you through what is going on here. I can tell you that screenshots will be helpful for him, if you can provide those.
Best,
10-01-2019 12:38 PM
Hi Claire,
Yes, he explained the case that no data acquisition is possible by using measurement studio and
he closed the service request.
Thank you very much for your help,
Kind regards.
10-03-2019 09:52 AM
Just to add some context, Measurement Studio is built for .NET, and it runs on Windows. NI's real-time offerings (such as the CompactRIO) run a real-time OS that is not Windows, so they do not support running Measurement Studio directly on them. That is the limitation in this particular setup.
However, you can use Measurement Studio to collect data from an NI real-time system. There are several ways to do this, and I recommend reading about Network Variables if you'd like to get started.
I also wanted to mention that while Measurement Studio cannot run on real-time systems, it can collect and display data from a device with a delay of only milliseconds. For example, you can use Measurement Studio to monitor changes to a waveform that you are measuring with a scope.
Cheers,
Ryan Curtis
Product Support Engineer
10-03-2019 01:14 PM
Hi Ryan,
Your statements cleared up completely my concerns/issues and your links allowed me to understand
all picture more, so thank you very much.
I have contacted to NI support before and they stated that Measurement studio (MS) does not support
real-time data acquisition, but I had found 2 documents that mentions to create a task to acquire data
by using MS, and I thought that task will be created at the remote device, that is PXI. It confused me,
but yesterday, I realized that data acquisition is from a DAQ device connected to a PC directly over USB,
not from the remote system.
Now it is clear to me and thank you very much again.
Tayfun Ozdemir