NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Maik S.
Posts: 46
0 Kudos

NAT7210

Hello! I hope this topic is accepted in this board, as I couldn't find a particular support forum for NI hardware. Years ago, we developed a GPIB interface board, using a NAT7210 GPIB controller which is hosted by an Atmel 8 bit MCU. For a test, the board is connected to a NI GPIB PCI interface, using MAX and NI-488 Communicator for communication. Everything works fine so far, except one thing: a customer complained about occasionally "distorted" responses to the *IDN? query. We verified this to be true. The response sometimes contains one additional character. For example, if the response string to the *IDN? query would be 70 bytes (including end token 0xA), sometimes it is 71 bytes and the additional character, which is mostly a ">" (0x3E), is inserted in random position. Sometimes it's even worse. Then the NAT7210 sends the string twice, making it 139 bytes. This error occurs every few times when querying *IDN?. The MCU that controls the NAT7210 does not send these additional character. I can verify in the debug mode, that the buffer content that is send to the GPIB controller is OK and the code is OK so that sending data is not interfered. We don't have any clue how to stop this. The NAT7210 has no command to flush its output buffer, nor we know if it does automatically after sending the message via GPIB. Does anybody have any idea what's causing this and how to stop it? TIA
Member
Maik S.
Posts: 46
0 Kudos

Re: NAT7210

This is strange. I used returns and blank lines when writing the initial message, but then all comes out as one block.

Sorry. :smileyembarrassed:

Active Participant
DirkW
Posts: 1,110
0 Kudos

Re: NAT7210

And more bad news. You are in the wrong place with your question. You should post again within the Instrument Control Board.

 

DirkW

Active Participant
sahpe
Posts: 240
0 Kudos

Re: NAT7210

Hey Maik, 

 

Try this board instead: 

 

Instrument Control

 

Hope this helps.

Kind Regards,

Michael S.
BEng MSc MIET CLAD

Member
Maik S.
Posts: 46
0 Kudos

Re: NAT7210

Ok, good. Seems like I've totally overlooked that one.

"Instrument" sounds strange to me in relation to interface hardware.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page