12-01-2018 09:37 PM - edited 12-01-2018 09:47 PM
Hey Everyone!
So I am trying to simulate the NI-9189 Ethernet Chassis with one NI9205. The issue I am having is every time is I run the VI it throws an “89120” error and I can't run the rest of the code. I know this error comes from the task not being setup correctly. I thought I set it up properly, because I configured my task in NIMAX and verified that LabVIEW was reading the simulated card, by using a DAQmx Device Property Node. This is shown in the image with a red square. Specifically I followed this tutorial. http://www.ni.com/tutorial/3698/en/
Attached is an image of my code. I am also new to LabVIEW so please be gentle.
Thanks for the help!
Cameron
Solved! Go to Solution.
12-02-2018 05:56 AM
You are also new to the Forums, where we beg beginners to attach your code (would you like to help debug a C++ program with only a picture of a listing of the code that you'd need to squint to read, and have to type in yourself to test or modify?). The Picture is nice to let you show us what you think the problem might be, but we need the code to "see for ourselves", to test, to experiment, to "find the bug" ...
Bob Schor
12-02-2018 12:52 PM
@KurtzC1 wrote:
Hey Everyone!
So I am trying to simulate the NI-9189 Ethernet Chassis with one NI9205.
You can't do that! Create a simulated 9189 and populate it with simulated devices. A single cDAQ simulated Device simply does not have the resources of a simulated 8 slot cDAQ Chassis
12-02-2018 12:52 PM - edited 12-02-2018 01:20 PM
Hi Bob,
Thanks for the reply. Sorry I thought I attached the code, but only attached the image. I attached the code to this message. I am sure there are other problems with the code other than the simulated device issue.
I just can't debug them until I solve this.
Thanks
Cameron
12-02-2018 12:55 PM
You do realize that there is a "Thing" called a DAQmx Scale? look it up
12-02-2018 12:57 PM - edited 12-02-2018 12:58 PM
Jeff, thank you for the reply.
I think I misspoke earlier. I an trying to simulate the NI-9189 Ethernet Chassis with one simulated NI-9205 in the first slot.
Thanks
Cameron
12-02-2018 01:12 PM
Jeff,
I was not aware of DAQmx Scale. I guess I can build my scale into the task and simply things.
Thanks
Cameron
12-02-2018 09:38 PM
I found the issue. I was an idiot and wired a string into DAQmx Sample Clock.