04-23-2009 08:45 PM
Hi guys,
I downloaded the driver for instrument PM3000A which can be found here: http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1313
I'm connecting the energy analyzer to computer using GPIB 488.2 card to usb.
What I am trying to do is to measure the energy consumption of a lathe machine continuously and dump the data into spreadsheet. At the moment, I can't connect the 'initialize' VI to the energy analyzer, which means that the connection between the energy analyser and labview can't be established. Can anybody help me with this?
Thank you,
chemisiq
04-23-2009 09:34 PM
04-23-2009 10:22 PM
It says "error - 1073807202 occured at Old VISA Open in PM3000A initialize.vi". Then the labview just freezes and I need to close it by using ctrl-alt-del. I'm using LabView 7.1.
I've attached the the VI that I've constructed, and also a screenshot of it.
Thx for replying, appreciate it.
chemisiq
04-23-2009 11:11 PM
Try using this version of the initialize function. I replaced the 'Old' VISA Open with the one that comes with 7.1. The old one has not worked in many years.
Be sure to place a VISA Resource Name control or constant (same as VISA Reference) in your top level VI so that you can select the instrument. After you do a scan for instruments in MAX, you can click on the arrow on theright side and see a list of VISA resources (i.e Com1, LPT1). Pick yours. It should be in the format of GPIB0::address::INSTR where address is the numeric GPIB address of the instrument.