02-17-2016 10:10 AM
Here is something I have also found that might be of some use, Im not sure how to set this up or if i even need to use this (which I think i do)
02-17-2016 11:06 AM
So i've gotten the initilize function to run, when i restarted the computer it recognised COM4, the problem is now that I cannot get VISA read to work, it might have to do with the value of 100??
02-17-2016 11:46 AM
02-17-2016 11:51 AM
02-22-2016 10:33 AM
Is there a way to check on any of these conditions that might be causing this problem? (for example would the manual for my pulse generator say "use basic rate of ____ ")
Also I'd like to thank you and every one who has helped me so far, coding and electrical work is not my area of expertise
02-23-2016 05:40 PM
Hi,
Yes, the device manual will list what these settings should be. I think I found the manual for your device here: http://www.berkeleynucleonics.com/resources/577_Manual.pdf , it looks like page 19 lists the serial port parameters.
I couldn't see the full error code in your screenshot, but it looks like it may have been -1073807339, in which case this KB talks about possible reasons for that occuring: http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0?OpenDocument . If it was a different error code I suggest you look that up (google or ni.com) as it will help you troubleshoot the specific cause of the error you are seeing.
Another thing I would suggest is to just see if you are able to communicate with the device in NI Max using the VISA interactive control, this way you can narrow down if the problem is with your LabVIEW code or with the connection between the device and the computer itself. To get to the VISA Interactive Control, open NI MAX, Tools -> NI-VISA -> VISA Interactive Control. Here you can configure the serial port settings as well as test I/O by sending basic commands.
Hope this helps!
04-13-2016 10:19 AM
Hello, and sorry for any delay in response. I have also been emailing the producer of the pulse generator asking for help, and after a bit of back and forth emailing, I have learned that the example program I have been running is not expected to work for me and they told me to just continue and make a new VI for my experiment.
I ask, is there any advice or help you can give me for my task (explained in one of the earliest posts), as I have no clue where to begin construction of this VI.
04-14-2016 04:40 PM
Hi,
Did they say the driver won't work with that device or just the example program? If the driver still works there should be some VIs in there you can use to perform the basic functions you need. I would look through the LabVIEW examples for something similar to what you're trying to do, possibly in our IVI drivers section, and then replicate this code as much as possible.