02-17-2021 07:45 AM
Hello guys,
I have gpib-usb-hs+ module and I am required to send the following commands and data in the following sequence:
MLA18
{DATA} (6 BYTES)
UNL
MTA18
{DATA} (5 BYTES)
UNT
I need this exact sequence with no UNL or UNT at the beginning or the end where they are not a must.
Currently each time I send MLA my program sends automatically send UNL.
I have tried to use c# library and ATEasy programming.
Would be very glad to hear your opinion on this issue).
02-18-2021 08:55 PM
I don't know exactly what UNL, UNT or MLA is, but assuming these are some constants related to Newline, line feed and based on your description of usage with GPIB.
These might be useful - https://www.ni.com/en-us/support/documentation/supplemental/06/termination-characters-in-ni-visa.htm...
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHpGCAW&l=en-US
With additional details, the above links may be irrelevant
02-21-2021 04:41 AM
Thank you for your reply.
The links you sent are talking about various ending char, in my case the NI module adds a termination command (UNL-Unlisten) before every MLA(My listen address).
I need to find a solution to bypass this automatic addition.
02-23-2021 10:11 AM
This is the original IEEE-488 configuration with the very low-level communications.
> To SEND commands:
> To Hear Responses:
Repeat for next instrument or continue to listen for further responses.
Most of these low-level commands are handled within the simpler SCPI command sets.
02-25-2021 12:37 AM
I 100% agree with you, yet in my case I want to send MLA without UNL being sent automatically/by itself before MLA.
I need a clear package of
MLA
* DATA*
UNL
MTA
* DATA*
UNT
no unnecessary addons