cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

NI 9411 for Serial Data

Solved!
Go to solution

NI 9411 for Serial Data

Dear all,

 

It is possible to use the NI 9411 for synchronous Serial Data reception?

 

For example, let have a stream at 10kbps data rate (33.3us/bit clock), from a serial sensor continuously feeding bits of data, separated by some given "delimiter". 

 

Which would be the maximum data rate, if this module can handle 500ns?

 

Thanks in advance

0 Kudos
Message 1 of 11
(298 Views)

Re: NI 9411 for Serial Data

Some additional notes:

 

  • Which is the maximum speed of this module?. In the datasheet the figure "Update Rate" reads 0.5us. 
  • This means a clock of 2MHz can be configured for sampling digital inputs at this speed?
  • Can this module lock at a given external (or internal?) clock for synchronous communication as receiver?.

Thanks in advance.

0 Kudos
Message 2 of 11
(263 Views)
Highlighted
Solution
Accepted by topic author hypfco
09-08-2017 07:41 AM

Re: NI 9411 for Serial Data

Hi hypfco,

 

Which is the maximum speed of this module?. In the datasheet the figure "Update Rate" reads 0.5us.

Yes.

 

This means a clock of 2MHz can be configured for sampling digital inputs at this speed?

Yes.

 

Can this module lock at a given external (or internal?) clock for synchronous communication as receiver?.

No.

 

Why don't you use a serial port?

Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2017 on Win7+cRIO
Kudos are welcome Smiley Wink

Message 3 of 11
(251 Views)

Re: NI 9411 for Serial Data

Is your data stream following a standard?  It would be easier if you got a module that just used that standard.  Otherwise, it seems like you should be able to do what you want if you are using a cRIO and program the FPGA.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

The discussions from the Advanced User Track is not over. Join in the conversation: 2016 Advanced Users Track
Message 4 of 11
(234 Views)

Re: NI 9411 for Serial Data

@GerdW:

Thanks for your answer. 

 


  Why don't you use a serial port?


Because the NI 9411 module brings 32 DI at $251 through 1 slot, with a 4 slot NI cRIO, while the NI 9871 module brings 4 DI ports at $716 through between 4-6 ports considering at least 2 devices per trunk, with a 8 slot NI cRIO. 

0 Kudos
Message 5 of 11
(224 Views)

Re: NI 9411 for Serial Data

Hi hypfco,

 

your 9411 has just 6 DI ports.

The 9871 is a 4-port serial interface...

Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2017 on Win7+cRIO
Kudos are welcome Smiley Wink

Message 6 of 11
(220 Views)

Re: NI 9411 for Serial Data


crossrulz wrote:

Is your data stream following a standard?  It would be easier if you got a module that just used that standard.  Otherwise, it seems like you should be able to do what you want if you are using a cRIO and program the FPGA.


True. I am thinking in saving resources by using a NI 9411 32ch 1slot , instead of a NI 9871 4ports 4-6slots. If some programming is required to make that reduction, i would accept it gladly. 

 

No, the data will be fed through a small PCB card I will design for this purpose. For converting a SPI/I2C sensor into serial data.

0 Kudos
Message 7 of 11
(215 Views)

Re: NI 9411 for Serial Data

I made a mistake, i will restart the question.

0 Kudos
Message 8 of 11
(214 Views)

Re: NI 9411 for Serial Data


hypfco wrote:

No, the data will be fed through a small PCB card I will design for this purpose. For converting a SPI/I2C sensor into serial data.


There are libraries out there for performing I2C and SPI with LabVIEW FPGA.  You might want to look at those and skip your conversion board.  Another option is a USB-8451 or USB-8452, which are USB devices specifically made for I2C and SPI.  The LabVIEW API is really simple too.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

The discussions from the Advanced User Track is not over. Join in the conversation: 2016 Advanced Users Track
Message 9 of 11
(196 Views)

Re: NI 9411 for Serial Data

@crossruiz,

 

Thanks for your answer.

 

Because i would use the data transmission between a large distance (more than 100m), i think the PCB interface will be required in any case.

 

Those I2C/SPI LabVIEW FPGA libraries will be really useful indeed. 

 

Still, i am looking mainly for slot economy by choosing a module similar to the NI 9411 (and more similar to the NI 9403 as per my mistake). That's why i would prefer several channels modules + software configuration instead of few ports modules + ready to go configuration.

0 Kudos
Message 10 of 11
(176 Views)