09-15-2008 08:27 AM
Device.SerialPollFlags returns the value 4.... I don't see this value in the Enum SerialPollFlags.....
short spf = device.SerialPoll();
device is working fine - "*IDN?" responds as expected.
09-25-2008 04:33 AM
Are you using NI-488.2 and GPIB communication?
The SerialPollFlags does only have three types of enumerations: MessageAvailable(16), EventStatusRegister(32), and RequestingService(64).
The value of 4 could have several meanings, depending on what context it came in.
If it is possible, I would like to see a NI-SPY capture, screen shot of the error and the code.
This should help us get started with debugging the application. I would also like to see what version of the driver and operating system you are using.
Can you provide further information on your setup?