11-16-2011 09:55 PM
That vi is not in the library ...below i m giving you the path ....i m studying it when i see the hierarchy of the SETUP_PWATON_10VAC_555.VI
in the attached llb ...there is a vi named as SETUP_PWATON_10VAC_555.VI and if you open the hierarchy of the vi ....you ll find the readbusconfig..please explain me the logic of the vi (block diagram) sequentially...actually i want to learn how to interface a gpib programmable power supply with the controller computer using GPIB in labview..please tell me how this is done ...what are the things which i need to study?? and how data is being sent and receieved from a gpib device????? i need a gpib card for this ...do i need a DAQ for this also??
11-17-2011 03:56 AM
@nust wrote:
In the following attached llb.There is readbusconfig.vi
@smercurio_fc wrote:
There is no such VI in the library you posted.
@nust wrote:
the attached llb has been sent.
@smercurio_fc wrote:
I repeat: There is no VI called "readbusconfig" in the library you uploaded.
@yenknip wrote:
To reiterate smercurio, that VI isn't in your llb:
Will NI wrote:As far as the readbusconfig.vi, you'll have to upload the actual VI instead of just the llb file
11-17-2011 12:21 PM
Just to clarify here: we're aware that the library file you uploaded contains "SETUP_PWATON_10VAC_555.vi," and that this VI uses the readbusconfig.vi.
On your computer, opening SETUP_PW... (or looking at it's hierarchy) probably calls the readbusconfig VI without any problems. However, without having this or other SubVI's called by SETUP_PW (Including BelhmanVoltage.vi, BelhmanCurrent.vi, 73A270topVERDE.vi, etc), we cannot look at the block diagram or front panel of these sub VI's.
Is there an issue with directly uploading the readbusconfig.vi alone? We certainly want to help you figure this out.
With regard to your other questions, about interfacing with a GPIB-programmable power supply in LabVIEW, there are a few good resources for you to check. If you are just setting up your system, this "Developer Zone" (zone.ni.com) article will be invaluable: http://zone.ni.com/devzone/cda/tut/p/id/2761
What kind of power supply are you working with? Is it an NI device or 3rd party? If it is a 3rd party device, you may need to download a driver.
If you're already set up, you'll likely want to refer to the "LabVIEW - GPIB.vi" example in the example finder (In LabVIEW, Help>>Find Examples...). This will allow you to input GPIB commands into a connected GPIB device. If you examine the block diagram of this VI, you'll see the basic functions needed to perform these tasks - mainly "GPIB Write" and "GPIB Read."
This should give some guidance for the time being, but please let us know as more questions come up!
11-18-2011 09:39 AM
i have used the labview help ... but the vi in the examples is not opening...(labview - GPIB.vi) .instead it gives an error that NI service locator is not running...how can i remove this error??? and one more thing ..if i have to find new libraries or download them, how can i do this???
11-18-2011 10:51 AM
thanks to the forum i got the solution of my problem..this is the solution
Many times, this error can be fixed by restarting the NI Service Locator. Follow these steps to do this:
LabVIEW 2009 SP1 and earlier:
LabVIEW 2010 and later:
As of LabVIEW 2010, the NI Service Locator has been integrated into the NI System Web Server.
If you follow the steps above, and you still cannot open the NI Example Finder, make sure that any personal firewall software, such as Norton Internet Security, ZoneLabs ZoneAlarm, or McAfee, has given server permissions to the NI Service Locator. If you still get this error contact National Instruments Technical Support.
Note: The NI Service Locator is a service that runs in the background of the operating system. This service enables the proper execution of several features including the LabVIEW Example Finder and some help options in LabVIEW. If this service is not running or is not running correctly, some of these features will not execute correctly.
11-18-2011 10:55 AM
where and how can i find all the GPIB libraries and download them??? ..they are not already available in my installed labview 7.1...any suggestions on this will be very helpful for me...thanks...
11-18-2011 03:03 PM - edited 11-18-2011 03:03 PM
Do you have access to any GPIB functions in LabVIEW? They should be under "Instrument I/O" in your functions palette, if so.
If not, the drivers you will need include NI-VISA and NI-488.2, which you can find by searching "GPIB" at http://www.ni.com/drivers/.
I've attached the basic communication example I mentioned, just to get you started. Feel free to let us know if and when specific questions come up!