Forum Replies Created
- AuthorPosts
HerbertNParticipantHi Justin,
thanks, downloaded and tested your vi and it works. Turns out my mistake was in copying my own vi’s I missed the fact that in some function calls the device handle is a pointer to an int and in most it is an int. Missed that, which caused havoc.Thanks for your help in this.
Cheers
Herbert
HerbertNParticipantHi Justin,
emailed you at support, yesterday. Have you received that email?
Cheers
Herbert
HerbertNParticipantHi Justin,
that is interesting. Could you please attach the program?’ I am sure it will help, especially to see what I have done incorrectly.
Cheers
Herbert
HerbertNParticipantHi Justin,
I was wondering how this issue is coming along?
Cheers
Herbert
HerbertNParticipantOk thanks. I had forgot there was a header file for the dll. Out of practice! LabVIEW spoils you!
Cheers
Herbert
HerbertNParticipantHi Justin,
for the function sgSetPSK, are the translations for the types as shown in the attached file? Are they passed as unsigned 8’s?Cheers
Herbert
Attachments:
You must be logged in to view attached files.
HerbertNParticipantHi Justin,
ok thank you. Let me know if there is more info you need.
HerbertNParticipantOk, try that file upload again.
Attachments:
You must be logged in to view attached files.
HerbertNParticipantHi,
I am having some trouble obtaining a valid device number (in LabVIEW) when I use either “sgStatus sgOpenDevice(int *device) “ or “sgStatus sgOpenDeviceBySerial(int *device, int serialNumber)”. sgStatus appears to come back with a valid response, i.e. no error is indicated.I do get a valid response when I use “sgStatus sgGetDeviceList(int deviceList[8], int *length)” in my LV implementation, i.e. I get the device serial number. This shows I am interfacing to the DLL correctly. When the opening of the device fails, the function “sgStatus sgGetDeviceList(int deviceList[8], int *length)” then returns a -1 for the Serial Number of the device. When in this state I have to shut down LV and unplug the VSG25A to get back to normal operation.
Details of my environment are below –
1. Windows 7
2. VSG25 Software V1.02
3. LabVIEW 2013.I have attached a capture of the USB port traffic, for when I do an open the device by SN in LabVIEW in the hope that this elucidates the issue further.
Any suggestions would help me get over this road block and would be appreciated.
Thanks
Herbert
- AuthorPosts