Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there source code for CSimpleParser in NI-Device Plus?

The examples directory "simple" of NI-Device Plus 1.5 contains a shared compiled library and include file for class CSimpleParser, but there is no source code or documentation of it. Is it available anywhere?
 
0 Kudos
Message 1 of 4
(3,610 Views)

Hi,

You can purchase the NI-Device DDK. The DDK is source code that can be used for porting NI-Device to other operating systems. Otherwise, the source code for NI-Device is not distributed.

 

Thanks,

Arjun K

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,587 Views)
I thought NI had dis-continued NI-Device. Is this true or can you still purchase it?
0 Kudos
Message 3 of 4
(3,575 Views)
I don't remember exactly why we didn't ship the source code to the simple parser, but it truly is doing a strcmp with *IDN?, *SRE, *SRE?. Not anything is is useful. The parser in the advanced example is better. While I don't have it available, I have extended it to follow much of the IEEE 488.2 parsing model (primarily for the numeric types) without too much effort.

Someone has used the JPA-SCPI parser (I think) with NI-Device successfully. I have no idea what was involved with that as it wasn't me.

Message Edited by GPIB Guru on 08-24-2007 07:56 AM

0 Kudos
Message 4 of 4
(3,571 Views)