08-19-2016 07:48 AM
i want to duplicate the vi's below.
one can ramp the current of the power supply to the lamp up and down and keeps it stable during calibrations; and the other measures selected lamps periodically (usually once an hour over a 22 hour period)Does anyone know the kind of examples i can search for related to this?
08-22-2016 10:37 AM
The most simple thing to do would be to just modify the code that you already have. Is this compiled code? Can you view the block diagram (ctrl+E)? Even if you don't have access to the source code of these VIs, it might be more simple to just create a higher level VI that calls this VI in a specific configuration.
If none of the above applies, then I would recommend starting with the instrument drivers for the equipment you want to control (power supplies, LUX meters, etc). The drivers will typically have their own examples that should be useful. Can I ask what instruments you plan on using?
08-23-2016 04:59 AM
Good day
Thank you. These pictures are from a pdf document and not from the actual front panel. Its a code for a power supply using GPIB and RS232 interface
08-23-2016 05:12 PM
Were you able to find instrument drivers for the devices? If not let me know what specific devices you are using and I can have a look.
If an instrument driver doesn't exist, you can still communicate with it in other ways such as VISA calls. In general the drivers are easier to work with though.
08-24-2016 01:48 AM
This is a Heinzinger power supply. i have attached the back of the power supply below. The supplier does not provide drivers and i couldnt find any. Yes a visa vi should be able to establish the connection.
08-25-2016 09:32 AM - edited 08-25-2016 09:33 AM
Unfortunately, I don't think that we have a driver for any Heinzinger equipment. However, you should be able to contact the manufacturer for a list of GPIB commands that you can use to control it.
08-25-2016 09:36 AM
I would not be surprised if the Heizinger is just an analog powersupply.
From the pdf I see a DAC488HR that could be settin the Heizinger and a HP34970 that could be measuring.
I have no idea what is used to switch the lamps.
If it is not too far away from Eindhoven in the Netherlands I can have a look.
08-25-2016 09:59 AM
Ah, that would explain why the communication ports are on a different part of the panel.