08-27-2012 11:00 AM
When I want to read measurements from the Instrument, the HP 4824A, will I first need to sent a command to the controller and then to the Instrument ?
08-27-2012 11:02 AM
Where can I download this low level GPIB compatibility layer for the driver ?
08-27-2012 11:03 AM
From links on the Prologix site!
08-27-2012 11:08 AM - edited 08-27-2012 11:08 AM
08-27-2012 11:23 AM
When I want to read measurements from the Instrument, the HP 4824A, will I first need to sent a command to the controller and then to the Instrument ?
08-27-2012 11:29 AM
From what I understand is that first I have to send a ++mode (terminated by LF) command, and then a ++auto, followed by ++addr X.
After this I have to send the GPIB commands (read/write/etc), or do I need to do something else ?
08-28-2012 08:40 AM
@kozxmart wrote:
From what I understand is that first I have to send a ++mode (terminated by LF) command, and then a ++auto, followed by ++addr X.
After this I have to send the GPIB commands (read/write/etc), or do I need to do something else ?
I have neither the Prologix nor the HP 4824A.
Is trying something to find out the answer a concept that is foreign to you?
08-28-2012 09:25 AM
If you can't help then don't respond. I'm asking because I can't seem to figure it out.
I've got the code running, but it won't give me any measurement readings.
08-28-2012 09:53 AM
Then I would say you don't have the code running?
Have you posted your question to Prologix? You aren't using any NI hardware so your post here is inappropriate. There is no 4824A driver available from NI that I could find so I have no idea what code you have started from. You have not posted any of your modified code either. Did you ever download the GPIB wrapper functions? They are not at the link given by nyc. You should have no problem finding them yourself.
p.s. Now you see why I and others think the Prologix should be used only on hobbyist projects (perhaps that is what you are doing?). The time/money wasted in modifying existing code is more than the small difference in price for a real GPIB controller.
08-28-2012 10:34 AM
I wouldn't say that using the Prologix is a waste.
The frustration is that the OP is expecting answers to be handed him on silver platter or something.
Try something. Tell us what you have tried and what didn't work.
That is what being an engineer is all about.