09-04-2009 05:03 PM
This picture shows a query - in this case, a request to send the ID of this instrument. The VISA instrument control is a dropdown menu where all your VISA instruments recognized by NI-MAX are. The error out of the VISA write is wired to the error in of the VISA read, meaning the write will happen before the read. Some commands just tell the instrument to do something so you don't need the VISA read. (In the real world, some commands take a long time to process and you may need additional code to take this into account, but let's stick with the basics.)
If you know how to do your measurement manually, you should be able to pick out the commands needed to do the measurement, then you should be able to string them together. Given that you have some exposure to LabVIEW, I hope a lightbulb goes on and you can start programming. Maybe you can eventually build your OWN library of CUSTOM drivers! 😄
Don't be afraid to ask for help!
09-04-2009 05:07 PM
If you place the three VIs on the block diagram and wire the error out to the error in in squence, you can 'right-click' on the inputs of the first two and select 'create control'. On the front panel you should have the controls select the mode and channel, along with one for wether to query the ID and one to reset the device during intialization.
hp4395a Initialize.vi
hp4395a Instrument mode/chan select.vi
hp4395a Close.vi
The block diagram should look something like this:
You are right about the plug and play version, it is very difficult to understand.
09-08-2009 10:08 AM
Hi Jack47,
I have tried to reproduce the block diagram you sent but I have the following error message that I do not understand: Could you please help me?
Thank you very much for your previous message!
09-08-2009 10:19 AM
09-08-2009 10:40 AM
09-08-2009 10:43 AM
What's wrong with clicking on the link I gave you?
You should also not have to guess whether you installed something or not. If you don't remember, open MAX and expand the software listing. If you installed it, the compliance package will be listed.
I have no idea wha you mean by IVI folder and configuration settings.
09-08-2009 10:47 AM
02-08-2013 03:32 AM
Hi, I am using this driver right now, but the VIs are broken due to some dll issue. I guess some additional installer should be installed for this to work fine. As the driver is developed a long before, the developer is not sure of what installer he used. So, pls can you help me with this.?
Note : these VIs are working fine in 32 bit OS but not in 64bit.. Y is this so? Can I overcome this.?
Thanks in advance
02-08-2013 07:08 AM
02-08-2013 07:42 AM
I searched for the 64 bit dll for the same but couldnt find till now. If any of you guys knows about it, please send me the link.