05-30-2015 06:50 PM
05-30-2015 08:04 PM
05-31-2015 06:03 AM
Actually I downloaded the manual you suggested me and as I already told you I have also tried with the OPC? query but it didn't solve my problem. Probably I didn't do that in the correct way but I don't know how to do that. And i didn't also find a command that tell me when the scope get an aquisition in the manual you gave me.
06-01-2015 03:33 AM
billko ha scritto:
I downloaded the drivers for this device. I've attached a proof-of-concept version of your try.vi. Your attempt follows closely the example provided, but has no indicator on the waveform output! I replaced your loop exit control logic with a simple stop button for now, and placed a simple indocator on the output to verify that you are getting something. (I have no idea if this even works.)
These drivers are very old and cumbersome. I'm uploading more recent drivers that I found. They are at least in lvlib format. They also include extensive example, of which you might even be able to use the "loop" one without modification.
The drivers don't work for this instrument, sorry.
06-01-2015 09:50 AM
I'm sorry for uploading the wrong drivers. Did you get to try the VI I also uploaded?
06-02-2015 03:54 AM
Yes, I did. But unfortunately it works like mine. Because also if the values of the waveform change only when the trigger comes, inside the while loop they "change" every iteration and so at the end I have a very long file.
06-02-2015 09:25 AM
@giacomourbini wrote:
Yes, I did. But unfortunately it works like mine. Because also if the values of the waveform change only when the trigger comes, inside the while loop they "change" every iteration and so at the end I have a very long file.
Well... that's exactly what I would expect. A LOT of data. Then I guess I'm not understanding what it is that you wanted. To me, it seems to be doing exactly what you wanted to do. Keep getting data until you tell it to stop. Is there something else that you need?
06-02-2015 01:58 PM
I wanted to save data only when the trigger comes and not every iteration of the while loop. Anyway I think I have solved myself but thank you so much for your help. I really appreciated that you spent time for me.
06-02-2015 02:18 PM
@giacomourbini wrote:
I wanted to save data only when the trigger comes and not every iteration of the while loop. Anyway I think I have solved myself but thank you so much for your help. I really appreciated that you spent time for me.
That's what I was hoping would happen, but I guess it didn't work out the way I had envisioned it to. It's hard when you don't have the equipment in front of you. Sorry I couldn't help you further. If you still need help , though, please post what you have and I'll be happy to confuse you! 😄
06-02-2015 02:46 PM
i know it's hard working without instrument and that is the reason why I appreciated your help more.
Thank you again