07-26-2018 10:40 AM
We want to use your NI PCI-GPIB as slave – I found following entry here
https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/GPIB-Slave-with-NI488-2/td-p/838953
and the noncic.zip application there works as expected
But I want to use C# programming language and the .NET library (no wrapper)
I also found following function mapping description
http://zone.ni.com/reference/en-XX/help/370628F-01/mstudiowebhelp/html/gpibapimapping/
The status can be read by the device class method GetCurrentStatus()
http://zone.ni.com/reference/en-XX/help/370628F-01/mstudiowebhelp/html/31047307/
I also found a way to set the current status byte (ibrsv) – also a device class method SetConfigurationOption()
http://zone.ni.com/reference/en-XX/help/370628F-01/mstudiowebhelp/html/a87535c1/
Was a little bit tricky, because this method is not visible
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetConfigurationOption(int configurationOption, int configurationOptionValue);
https://linux-gpib.sourceforge.io/doc_html/reference-function-ibconfig.html
|
IbcRsv |
0x21 |
Sets the current status byte this board will use to respond to serial polls. Same as ibrsv(). |
But how can I disable the system control capability
ibrsc (_board, 0);
Are the any .NET slave examples available?
Many thanks for your time.
11-11-2020 03:01 AM
Hello will you able to make it work with C#?
Also, can you help me how you run noncic.zip?
11-11-2020 01:42 PM
Sorry, but the project was never realized.
I wish you all the best.
11-11-2020 06:27 PM
Its oks, I will try to make it work, but C++ GPIB driver library could do as well.
Aside from noncic.zip, created at Visual Studio C++ 6.0, were you able to manage to create or update your custom NI PCI-GPIB slave instrument?
Cheers,
Raymond