LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 89120 with Simulated Chassis

Solved!
Go to solution

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

Image 1.JPG

 

 Image 2.png

0 Kudos
Message 1 of 8
(2,807 Views)

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

Message 2 of 8
(2,771 Views)

@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  


"Should be" isn't "Is" -Jay
Message 3 of 8
(2,766 Views)

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 

Download All
0 Kudos
Message 4 of 8
(2,765 Views)

You do realize that there is a "Thing" called a DAQmx Scale?  look it up


"Should be" isn't "Is" -Jay
Message 5 of 8
(2,763 Views)

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

0 Kudos
Message 6 of 8
(2,762 Views)

Jeff, 

 

I was not aware of DAQmx Scale. I guess I can build my scale into the task and simply things. 

 

Thanks

Cameron 

0 Kudos
Message 7 of 8
(2,750 Views)
Solution
Accepted by topic author KurtzC1

I found the issue. I was an idiot and wired a string into DAQmx Sample Clock. 

0 Kudos
Message 8 of 8
(2,731 Views)