Quantcast
Channel: LabVIEW topics
Viewing all 69174 articles
Browse latest View live

DBC- XNET: Fill all signal in CAN Frame

$
0
0

I'm not using XNET hardware but I'm using xnet software to manage dbc FILE. I have this kind of problem: I would like fill all signal in a CAN FRAME but i don't find function useful to do this.

The most near at my objective fuction is XNET Convert (Signal to Frame CAN).vi but this vi generate one single can frame for one single signal. I need to pass all signal frame to fuction to generate ONLY ONE CAN frame s this vi can't help me.

 


Reading FIFO's in SCTL does not work as a FIFO

$
0
0

Hi,

I hope this is enough, if not can i post some simple VI's tomorrow.

 

I have a weird behaviour in my SCTL when reading two instances of the same FIFO, which is set to "never arbitrate".

 

Below

 

Im sending an array into the FIFO, for example

fifo_array = [0, 0, 0, 0, 0, 0, 1]

 

Below i have posted two ways of extracting the array, where i am gathering the data in some fixed arrays of size 4.

 

Optimal readout which should work, but doesn't:

Return value of analog value = [1,1,1,1]:

image.png

 

Does work:

return value of analog values = [0,0,0,1]

2x SCTL fifo.PNG

 

Is there any obvious reason for why this should not work ?

 

In Cylinder Pressure measurement VI

$
0
0

Hi,

I am currently working on a project where I have to create a Temperature and Pressure VI on LabVIEW using the Ricardo E6 Engine 

Im reliably new too LabVIEW and I am just wondering if there is anyone who could help me with this ?

 

the equipment that have is;

-Kistler Type 7061B Piezoelectric pressure transducer

-K type thermocouple

-NI cDAQ-9178

-NI 9215 card for the pressure measurement

-Bruel & Kjaer Charge Amplifier type 2635

 

If anyone could give me some guidance this would be much appreciated. 

 

Attached is what I have created so far, I have to sync the encoder in order to get the pressure data at TDC 

Smiley Happy 

 

 

String to path for Name inside library

$
0
0

Have found a strange behaviour, can you check if it is a bug, or it was a bug in LV2011.

I need to convert input string to a path and check if it is absolute path or relative. 

There is a problem when input string is a full name (including library):

library.lvlib:control.ctl 

when converted to path it is modified to:

library.lvlib:\control.ctl

Added "\" makes it very wrong and it is absolute path now.

path type bug.png

 

Labview with DSC module

$
0
0

Hi there,

I have downloaded and installed labview 2018 for evaluation and i am trying to download the DSC module add on. I have it downloaded but when trying to run it it tells me i need labview 2018 installed first and womt run, even though i already have it installed. Does the DSC module run with LV 2018? Or is there a way i can download labview 2018 together with the DSC module?

Thanks in advance.

USB 6003 and thorlabs scanning galvo system

$
0
0

Hi all, 

 

I purchased the USB 6003 DAQ card for operating thorlabs' scanning glavo (GVS012). 

But, when I apply the analog output voltage signals to the driver board, it doesn't work, the current was zero on the power supply. 

I was wondering if the DAQ card is proper to operate the system. The required spec is as follows. 

- Dual bipolar -10 to10V DAC analog output channel(differential),
- DAC clocking frequency higher than 20kS/S, higher sampling frequencies like 100kS/s are recommended. 

 

Thanks in advance,

interfacing labview and kistler Dynamometer

$
0
0

I want to interface Kistler Dynamometer and labview directly. Downloaded kistler labview driver from their website but unable to connect to the IP of kistler charge amplifier. error showing while running example program of labview downloaded from kistler website

Resize Image to a Container

$
0
0

Hi ,

 i want to Know how to Resize Image to match the  Container Using LabVIEW ? i use the code below but i find blank space in the picture .

Capture5.PNGCapture6.PNG


Re: Changing the Duty Cycle (PWM) with buttons

$
0
0

I have to generate 6 PWMs. It is possible to use only one timer?. I have done this file but only 4 timers appeared, and I should like use 3 to other purposes. (Note: I can not post a new thread)

Re: I have a DAQ Assistant configured to read multiple channels at the same time. When I wire a graph indicator to the output, I see all of my signals jumbled together. How do I split them up into seperate signals?

$
0
0

Hello,

 

I am trying to split three analog voltage channels from DAQ assistant to three simple numeric readouts. When I use the split signal sub VI, I do get three different voltages. However, as one voltage changes, the others also change by some value. The three voltages are completely independent at the DAQ hardware input. Is there some sort of scaling somewhere I don't see?

 

Thanks,

LabView FPGA devices

$
0
0

how to do three phase clarke transformation (abc to alpha beta transforamtion) in labview fpga ? i have a project which requires clarke transformation, is there any function or VI to do clarke transformation in labview FPGA

 

thank you

FPGA oscilloscope to measure power and voltage

$
0
0

Hi,

I need to create an onscreen oscilloscope, to measure the power and voltage from a detector, using FPGA and LabView. I am attaching the VI. Can someone tell me what I should add to make it an oscilloscope?

 

Regards,

Image processing with VA in myRIO: Error code -63193

$
0
0

Hi,

 

I run an image processing with vision assistant (VA) in myRIO. When I run the Host.vi under RT, I get the following error:

Error_VA4.png

The error said:
Error -63193 occurred at Invoke Method: FIFO.Acquire Write Region in NI_VDM_FPGA_Basics.lvlib.IMAQ FPGA Image Transfer to Target U32.vi:1980001->Host.vi.
The possible reasons: The requested feature is not supported.
 
Then, I try to follow the steps as stated in this link https://forums.ni.com/t5/LabVIEW/Vision-FPGA-in-myRIO/td-p/3266599. My question is how to add "Device Code" under myRIO? I can't find the device code. 
 
Could you advise? Thank you for your time in advance.

SCPI commands work with Keysight IO but not NI Max

$
0
0

Hi, 

A piece of Keysight E5071C codes was resued for E5080A with code Emulator. 

 

There were 3 traces on the screen at the beginning. Command

:CALCulateSmiley TongueARameter:COUNt 5

 

is working with Keysight I/O but not with NI Max. ENA5080 has error message SCPI 106 with NI Max same as Labview. 

 

Keysight E5080A FW A12.60.03. 

 

Any suggestion? 

 

Thanks, 

GTR

 

How is it possible an Inline sub VI can contain something not inlined

$
0
0

I have been playing with Malleable VI's lately and have been struck by the fact that there is a workaround to creating a VIM that affects a property node, the workaround is needed as you cannot inline subVI's that contain a property node.

 

The workaround is to place the property node action within a subVI that is NOT inline and place that subVI in your inlined VIM. This works fine I have tried it out and it has been talked about in a number of places as something you can do.

 

The workaround, which is great and very useful, just feels wrong and something that should not be possible. I thought that when a subVI was inlined, the block diagram of the inlined VI was placed at compile time onto the block diagram of the calling VI. but for that to be true surely all inlined VIs needed to hierarchically contain only inlines VIs.

 

Can anybody please throw some light on why and how this works so I can reset my understanding


Fuzzy Load System

$
0
0

Hi

I am doing a university project on using fuzzy control for non-linear systems but when I try to load by fuzzy system file into labview the output of the load vi is empty. If anyone could help with this it would be really appreciated. I have attached a picture of my code for reference.

Thanks

Chloe

Multi channel data acquision at different freqeuncy

$
0
0

Hi to everyone,

I´m trying to acquire different signals: 

 - 4 Accelerometers at 10 000 Hz connect to NI 9234

 - Current and Voltage signal at 10 000 Hz connect to NI 9215

 - 7 Temperature at 1 Hz connect to NI 9213

All connected to NI cDAQ-9174

for one hour.

 

I have some problems because even if I have created two loops and used queues to speed up the process, I´m not able to acquire the signals for more than 5 minutes. After that the VI stops due to errors like this one:

 

"Multi Channel Acquisition.vi<append>
<B>Property: </B>RelativeTo
<B>Corresponding Value: </B>Current Read Position
<B>Property: </B>Offset
<B>Corresponding Value: </B>0

<B>Task Name: </B>_unnamedTask<B>"

 

How can I optimize my code to work better?

 

Downgrade LabView

$
0
0

Hi,

 

I would like to know if it is possible to downgrade LabVIEW 2018 to 2017 using the same licence

Strain Gauge Measurements

$
0
0

Hey Everyone, 

 I'm a first time NI and Labview user, I'm currently setup with a NIcDAQ - 9189 and NI 9236 module, to which I have a Omega KFH series three leads, 120 ohms strain gauge connected to CH0. I have been using instructions from an NI vidoe tutorial to setup strain measurements, however on following the instructions adn trying to calibrate i'm getting hit with error 201398. I have tried changing values to what is suggested on the error message, but the same error message pops up with different values. I have attached images of my configuration and error message.

 

I will be grateful if someone can advise me on how to overcome this issue.

If i'm missing information that you need to help troubleshoot this please let me know.

 

Thanks

Trying to catch the pulse waveforms on the two channels at the same time.

$
0
0

Programming in LabView 2015. PCIe-6351. Trying to catch the pulse waveforms on the two channels at the same time. Scenario: Sending 100 trigger pulses 4 kHz trough PFI13. The system is looking these pulses and generated other pulses, which I am trying to catch on AI0 and AI1. Any suggestions? Please and thanks.  

Viewing all 69174 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>