07-22-2021 06:33 AM
Hi there.
I am trying to set up a new cDAQ 9137 device for a hydrogen electrolyser.
I have connected the device to NI MAX with no problems, installing NI-DAQmx 20.7 on it and am able to self-test the device and receive signals when clicking on "Test Panels..." on each of the four connected modules.
When I go on to my LabVIEW (version 2020) and try to use the DAQ Assistant it returns "No supported devices found" when trying to acquire an analog input voltage signal (or any other signal for that matter, even digital).
Please can someone help me check I haven't missed anything. I will be happy to answer with any more details about my problem.
Thank you!
Solved! Go to Solution.
07-25-2021 04:25 PM
±Search the Web for "Learn 10 Functions in NI-DAQmx and Handle 80% of your Data Acquisition Applications". Read it carefully. The first section talks about the Dreaded DAQ Assistant, which you should never use (unless you want to do one simple thing, very quickly, and have never seen how simple DAQmx can be). Skip that section and read the rest of it.
Once you're ready to try DAQmx, this is the "simple, beginner" way to start:
If this still doesn't work, something is seriously wrong. Come back, and be sure to attach the VI (no pictures, please) that you tried to use.
Bob Schor
07-26-2021 05:10 AM
Hi Bob,
I really appreciate you replying and thanks for the help.
Bizarrely, I am able to run the Test Panel for my added modules and it returns a signal. I can also create a task in MAX and I am able assign this task to one of the physical channels from my modules (e.g. lists cDAQ1Mod3 (NI 9201) ai0, ai1 etc.).
Once in LabVIEW however, when trying to use the "dreaded" DAQ assistant it returns No Physical Channels, and when I try to create a task using the LabVIEW project, My Computer method it again returns No Physical Channels.
I created a simple VI just to check it wasn't working and tried completing point 6 of your previous message, and lo and behold there are no tasks that I can choose.
I am in the process of contacting a NI engineer to help me, it seems to be a problem with LabVIEW rather than MAX or my cDAQ.
Aidan
07-26-2021 09:11 AM - edited 07-26-2021 09:22 AM
Spoke with an NI engineer who was incredibly helpful, thought I would share the solution to those stuck on the same problem.
In a LabVIEW project you need to add your device by right clicking on your project (with the project window open), then navigate to 'New' then 'Targets and Devices...'.
Then find your device in the pop-up window.
After clicking 'Ok' your device should be added to the project. Now you need to 'Deploy' the device by right clicking on it and selecting deploy.
And you will be good to go. Make sure all subsequent VI's in which you use your device, are created under your device and not under 'My Computer'. Was a really simple fix but I couldn't find these instructions any where unfortunately.
07-26-2021 09:16 AM
07-26-2021 09:23 AM
I have removed the screenshots