From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-16-2017 06:09 PM - edited 10-16-2017 06:26 PM
Hi, friends:
Presently, I encounter some strange problems.
I have a BNC cable with analogue voltage signal inside, and I can see the pulse voltage signal with amplitude of 5.2 V and repetition of 4.4 ms in the oscilloscope. However, when I connected the same cable into the AI0 port of BNC 2110, and run following labview code (see mapping code in the appendix), I can just get a constant signal from the port. Which is more weird is even I disconnected the cable, I still can see that constant signal from LabView.
I hope I can make sense. Thank you so much for pointing out my errors.
10-16-2017 06:58 PM
What card do you have the BNC-2210 connected to? Have you tried playing with the soft panels in MAX yet?
10-17-2017 08:55 AM
Yeah run MAX and look at the test panel. That is basically the most low level way to test out your hardware. If the signal looks weird there, it will look weird in LabVIEW. You may have the terminal configuration wrong, like set up for differential or single ended.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-17-2017 10:54 AM - edited 10-17-2017 11:08 AM
Hi, thanks for reply. I have two cards, one is PCIe 6321, another is PCIe 6363. I just tried the MAX. Without any connection, there was a voltage signal of -10V in the AI0 port of PCIe 6321 card, and 3V in the AI0 port of PCIe 6363 card.
10-17-2017 10:55 AM - edited 10-17-2017 11:07 AM
Thanks for reply. I just tried the MAX. Without any connection, there was a voltage signal of -10V in the AI0 port of PCIe 6321 card, and 3V in the AI0 port of PCIe 6363 card.
10-17-2017 11:47 AM
And with a connection? Could you see your expected signal?
10-17-2017 12:04 PM
No. It should not be a difficult thing anyway. I monitored the voltage pulse signal with 5.1V, 4.5 ms repetition, and 400us duration in the oscilloscope. After that, I just want to observe and process the same signal in my PC by LabView, through BNC 2110 and PCIe 6363 card. I plugged the signal cable into the AI0 port of 2110 block, but see nothing from the LabView. I hope I made some sense.
10-17-2017 12:07 PM
Before worrying about your LabVIEW code, just try to make sure you see the signal in MAX as you do on your o-scope. Have you configured the input correctly on your 6363 card?
10-17-2017 12:17 PM
Thanks, Gregoryj. The PCIe 6363 card can be detected correctly in MAX. Should I do more steps to configure it?
10-17-2017 12:58 PM
@colorizedice wrote:
Thanks, Gregoryj. The PCIe 6363 card can be detected correctly in MAX. Should I do more steps to configure it?
Have you tried reading the fun manual? (RTFM) Here's a few links on how to use the test panel. Nothing extra should need to be configured.
http://www.ni.com/tutorial/4638/en/
http://www.ni.com/tutorial/5439/en/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord