04-17-2007 05:11 AM
04-19-2007 03:25 AM
Hi,
sorry, but I've no answer to this question but nearly the same problem.
I wrote a small Qt socket app. which provides a TCP-Server sending every 100 ms.
I'd like to have Diadem plotting the sent data - I setup a 25 ms refresh rate but
the actual refresh lasts for about 1 s!! The sent values seem to reach Diadem
but the processing needs very much time, hence the processor load goes
directly to 100% which seems to be very strange. I put my code for reading
the values into the TCP script driver template - SFD_ReadChannel method.
If comment out the "oUDIM.read()" the refresh is as expected, with the read
command everything slows down dramatically?
What's the mistake?
Best regards and thanks for your help...
04-19-2007
07:38 AM
- last edited on
05-19-2025
10:22 AM
by
Content Cleaner
Hello both,
I think in both cases you´ve forgotten to program a delimiter.
For this you will find the download for the Script-Daq-driver with examples on
http://digital.ni.com/softlib.nsf/websearch/DEA1C36806CDB7C886256E45003A32B9?opendocument&node=132070_US
Thanks,
04-19-2007 09:48 AM
Thanks for your help Rebecca, I just added a delimiter and a time out to my script
Call oUDIM.ParamSet("Delimiter",vbCR+vbLF)
Call oUDIM.ParamSet("Timeout",100)
John Fautsch
06-28-2013 08:15 AM
Can you repost the document that you have for the VBS script driver for a TCP/IP device? Thank you very much