10-24-2007 05:10 PM
10-24-2007
05:21 PM
- last edited on
03-05-2025
02:45 PM
by
Content Cleaner
There is no direct way like you have in IVI. You might be able to use the technique indicated in this article.
10-24-2007 05:49 PM
10-25-2007 09:04 AM
10-25-2007
12:19 PM
- last edited on
03-05-2025
02:46 PM
by
Content Cleaner
richjoh,
Thank you for contacting National Instruments.
It is correct, that there is not a direct way to simulate the GPIB device. You can set one of the configuration parameters when instantiating the IVI driver to simulate that instrument.
Additional resources beyond the Developer Zone Example previously suggested. There is a Developer Zone Tutorial: Using IVI Drivers to Simulate Your Instrumentation Hardware in LabVIEW and LabWindows/CVI that is a good reference. Also there is a Developer Zone Article: Creating or Modifying IVI Class Simulation Drivers that gives additional information as well.
Hope this is able to help and have a great day.
01-23-2008 02:23 PM
01-24-2008
03:18 PM
- last edited on
03-05-2025
02:47 PM
by
Content Cleaner
Jim,
I was able to go in and try to test out a similar situation, using MAX and the NI Instrument Simulator. I was able to replicate a portion of your NI SPY capture using the following process:
I opened the NI-488.2 Communicator, queried 3 times, then closed the NI-488.2 Communicator. I then reopened the NI-488.2 Communicator and did an additional query. I was able to replicate the ordering of your NI SPY capture, but I did not get the same error that you currently did.
I was wondering if you could me some additional information on the current setup of your application. If you could, please give me the step by step of your application, and also how you are communicating with MAX which then causes LabVIEW to hang.
What I am thinking is happening is the simulated GPIB device (your LabVIEW program) is hanging on a specific command, the ibwrt command. The ibclr command just clears a specific device, and doesn’t appear to be causing any problems with the GPIB communication. The ibwrt command gives the EABO error: which by going to Start >> All Programs >> National Instruments >> NI-488.2 >> NI-488.2 Help, I was able to find the following information to resolve the error: Make sure that you have configured your device to send data before you request data.
So, if you could give me as much information as possible on the way that you are setting up the system and sending the commands to the GPIB simulated device, it would allow me to try to troubleshoot it.
Thanks