LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA & sbRIO-9642

I have a single board sbRIO-9642 for couple of weeks to get acquainted with this latest technology. However, I have no prior knowledge of it nor experience with LV Real-Time. I have learned some general stuff from the PPS presentations and was unsuccessful in trying to obtain the web-videos. Yet, I still couldn't find a working example to get me started. All of them presume implicitly basic knowledge which I don't have.

 

Does anyone know the part number or the exact PDF of the accompanying document within the evaluation package, or any other step-by-step guide for absolute beginners. I'd need to program, emulate and download into the chip a DAQ FPGA VI with simple AIO, DIO and use of counters.

 

Thanks in advance,

0 Kudos
Message 1 of 7
(4,785 Views)

There are three environments that you need to get used to over here: LabVIEW, LabVIEW Real Time and LabVIEW FPGA. I would suggest going through the following links:

LabVIEW:

Getting Started with LabVIEW

Real Time:

Getting Started with the LabVIEW Real-Time Module

Will help you with sb-RIO since it's the same technology:

Getting Started with CompactRIO and LabVIEW

LabVIEW FPGA:

Getting Started with the FPGA Module  

 

Post back if you have any other questions.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 7
(4,761 Views)

Hey. I'm pretty new to this sbRIO world too... Let me setup my question, as this looks like a good noob thread to post in.

 

I'm just learning the board, so bare with me... I'm trying to sample an external frequency generator that I control the freq/amplitude, etc. Then I plug that into the sbRIO board under AIO, and GND. Now, I think I want to create a realtime app that will sample, compile and spit out a waveform that looks like what I dialed in on the frequency generator... So I created a realtime project with 2 loops, and file I/O. I then created an FPGA vi through the explorer. I then went to the data point in the FPGA vi, and bound it to the data - network shared variable.. I'm not sure if I'm on the right track here or not.... Here are some screenshots of what I have been working with for further explanation.. Any help is appreciated.

 

-Kyleprojectexplorer.JPGfpga.JPGupdata.JPG

 

 

Thanks again!

 

-Kyle

0 Kudos
Message 3 of 7
(4,658 Views)
I would recommend starting a new thread since your question is irrelevant to this thread. Be sure to post your project (if that's OK with you) so developers can help you faster.
Message Edited by Adnan Z on 10-03-2009 02:56 AM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 7
(4,651 Views)

Kyle, 

 

If you want to do waveform acquisition and streaming, you will probably need to sample faster than the IRQ based architecture you've started with will allow.  I would suggest starting with the cRIO Waveform Acquisition reference application developed by the NI Systems Engineering Group to get higher performance. 

 

Most CompactRIO example programs build into LabVIEW are also compatible with Single-Board RIO.  For examples that will work with the onboard I/O of Single-Board RIO, search for 9205, 9263, 9425, or 9476 for the AI, AO, 24V DI, or 24V DO examples, respectively.

 

Cheers, 

Spex
National Instruments

To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be has a 2x safety factor...
0 Kudos
Message 5 of 7
(4,615 Views)
Is there a way to directly read the clock on the sbRIO 9632? Most FPGA have external outputs to read the sampling clock but I can find it here, or rather the abbreviations. I would also like to know the location of the clock itself on the board. Thanks.
M
0 Kudos
Message 6 of 7
(4,420 Views)
Which clock are you talking about?  There's a 40 MHz oscilator that drives the logic on the FPGA.  The data sample clock is determined by you by when you execute the IO Node.  The acquisition doesn't happen at the exact some time as the IO node executes, but it does happen a deterministic time later.
0 Kudos
Message 7 of 7
(4,409 Views)