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

4 wire RTD Agilent temperature measurement

$
0
0

Hi,

I would like to measure the temperature with 4 wire RTDs with the Agilent 34970A. I configured the EZ Temperature VI with 4 Wire RTD and RTD Type 1 (91). The Problem is, the only data I get are temperatures of 9900000. There is no error message. When I did the set up with thermocouples it worked just fine. When I did the measurements with thermocouples on one card and the RTDs on the second card, the values for the RTDs were the same as for the thermocouples, even if the thermocouples were in a waterbath of 80 °C and the RTDs were outside the bath. I tried to increase the byte count in VISA read (it helped when I had a similar problem with the thermocouples) but it didn't change anything.

At first I would like to calibrate the RTDs alone (to prevent interference with the thermocouples) and afterwards I need to combine the measurements.

Is there anyone who also had this problem and found a solution? I would be very glad if somebody could help me :smileyhappy:


Fire Alarm System

$
0
0

Ok guys I'm fairly new to Labview

 

I created a fire alarm system which when the temperature reaches 40C it gives me a sound alarm.

 

How do I implement this into TCP/IP system where I can control the value of the temperature from the client side, and the temperature of the server side will rise? It is supposed to be a smart home but I have no idea how to do this. I have attached my fire alarm VI.

 

Help.

 

Unable to use cluster of references in subVI (error 1055, invalid references)

$
0
0

Hi there,

 

I am trying to pass a bunch of refences to through a cluster to a SubVI.

The idea here is to manipulate the Objects in the MainVI in the SubVI thorugh property nodes, which get the reference number from the cluster.

 

In the SubVI I use unbunling by name to acess the references I need. However, I get an error 1055 (invalid references) every time I try to access the object using the property node.

 

What am I doing wrong?

 

Attached you may find three files:

The mainVI: Main.vi

The subVI: Single_Cam_RefBased.vi

The type def. for the cluster: RefClusterTypeDefinition.ctl

 

Thanks in advance,

Marcel

How to detect variant type casting

$
0
0

I have done a piece of refactoring lately that involved replacing a variant with an object.  Variants being wonderful like they are, any old interface VI which would take a variant input simply casts the object input to a variant.  Is there any way of searching in LabVIEW for this casting action?  I'd prefer not to have to find every module that took the variant/now should take an object, if possible.

Averaging a waveform over a time interval

$
0
0

Hello all!

 

I am acquiring two continuous data signals, one from a NI-9211 and the other from a USB-6002.  The NI-9211 is set for 3 samples to read at a 3 Hz rate.  The USB-6002 is set for 1000 samples to read at a 1 kHz rate with a 0-5 V signal input.  The reason the USB-6002 is set for such a high rate is that the voltage signal has a lot of variability in the mV range.

 

What I want to do is take an average of the data points from each signal at 1 second intervals.  The averaged data is then being used to calculate a third value.

 

Then I want to do the same thing, but at 2 minute intervals.  The two minute interval data will be saved to an Excel file.

 

The reason I want both 1 second and 2 minute intervals is that I want to view the data in real-time.  However, since my testing is about 24 hours in length and I am not expecting large changes, I want to save averaged values every 2 minutes.

 

The problem I am having is averaging the waveform data from the signals.  Any help would be greatly appreciated.  Thanks!

NEF image format in Labview

$
0
0

Hi,

I need to load a NEF image into labview. NEF (Nikon Electronic Format) is Nikons own RAW image format.

Is there anybody who knows how to do it?

 

Thanks!

Fuzzy Logic in a project vi

$
0
0

Hello, I am working on a school project (the NI Robotics Starter kit 2.0) and i designed a fuzzy logic controller to control the robot.  This robot uses a rio board for the processor on board, and all the files that are being flashed on to the memory are in the proj.vi that was created during the robotic setup wizard.  When i created the fuzzy controller i used the fuzzy controller setup from the tools and saved the .fs file.  my sub vi loads the .fs file and uses the fuzzy controller that was made.  When i flash this on the rio does it pull the .fs file onto it also because the load fuzzy file path is needed. do i need to adjust the path seeing as it path will be flashed on to the rio board or does it do all that for me.

Running an interactive external application thru VI

$
0
0

Hello everyone

 

I have found several example of using the System Exec VI to execute a command from Labview. But is there a technique to run a executable within a window inside Labview that is also interactive with user input. 

 

I have a serial data logging program that is collecting data for me over a RS232 connection. The data log works great but I would like to run this somehow embedded inside labview. The datalogger appears to be a batch run that runs a Java file. I don't have too much control over the data logger as it was provided by the manufacturer. I thought about contacting the manufacturer to ask about the serial interface to see if I decode inside labview but really I just want to run and show the data logger inside my existing VI.

 

Any suggestions or tips on fix? When the data logger starts, the user needs to click on connect and start recording.

 

Thanks

Thomas


labview matlab crash

$
0
0

When running a matlab script, labview crashes. No labview error number appears. I have matlab 2013 on my Windows 7 computer and I am running labview 2013, as well. The error log file reports: ExceptionCode: 0xC0000005.

 

I have attached a copy of my labview code. However, even when I replace approx_entropy with mean, I still get the same error, which suggests that it is not a problem with the matlab file, but with the labview call of matlab. When I disable the matlab script in my labview code, it works just fine. 

 

 

multiple rows of tab pages - stop jumping active tab row to bottom

$
0
0

hello,

i have a tab control which have 6 rows and 8 coloums of pages. if i select the 3rd row 5th page, that active page comes down to 6th row and does so for any active page its kind of confusing . instead how can i stop it from jumping down to bottom and just highlight or color the active page in its place. 

WT210 Reading from external sensor

$
0
0

Hi,

 

I need help with using external sensor to read current in LabVIEW. Are there any examples? What I did was, from the "Measure Mode Value" example, I connect Config Ext Sensor Scaling. I don't know if it's right or not.

 

Any help would be very appreciated.

Thanks,

Write classes with connectivity toolkit

$
0
0

Messing around with the connectivity toolkit.  Is there a way of writing a class object to a database?

Ni Usrp Transfer Data .

$
0
0

Hello i want to know if its possible transfer data whit this radios.

i want to do acquisition data and trasfer that data whit the radios and send whit the radio to another radio RX and vizualice in labview 
Thk ALL 

Buenas Tardes quisiera saber si con los radios (Niusrp) puedo hacer transferencia de datos con lo cual primero hacer la adquisicion de datos por medio de una tarjeta de labview y despues enviar esos datos por uno de los radios TX y recivir en el otro radio RX y vizualizar lo que tengo en la pantalla de labview Muchas Gracias

requested vi is not loaded into memory on the server computer

$
0
0

estoy creando una aplicacion y genereo mi panel remote con labview 2012 y me sale este error en mi pc donde tengo instalado mi ejecutable

 

requested vi is not loaded into memory on the server computer

 

ya segui este procedimiento al pie de la letra no se que mas hacer muchas gracias

Variable, Multi-plot XY Graph?

$
0
0

Hey all, first text to the forums so here goes:

 

The issue I have deals with processing data from a number of strain gages.  My goal is to do the following:

 

   -  At the press of a button ("Push to Snapshot XY Points"), I need to collect a "snapshot" of the strain data that is continuously flowing out of the DAQ Assistant

 

   -  This strain data is currently being pulled from DDT and converted to a 2D array "Collected Data", which holds the current value of each channel in its own row.

 

   -  I want to take each individual channel of this information and pair its "collected data snapshot" value with the current Load Case (a double value I control), creating an (x,y) coordinate pair for each channel (all channels will be assigned the same "Load Case")

 

   -  I want to then Plot & Store these (x,y) pairs of data for each channel.  When I proceed to then change the "Load Case" and take another snapshot, I want to create a new set of coordinate pairs for each channel, corresponding to the new load case.  The overall goal is to enable the code to produce a XY Graph that looks like the one shown below.  I want this XY Graph to "build" to the right each time I take a new snapshot.

 

I currently have some code that takes the "Collected Data" Array, and moved it through a FOR loop setup with auto indexing enabled (I imagine I will need some sort of smart FOR loop to handle the variation in channel count).  From here I am having trouble organizing the data into the correct arrays/clusters such that I can store and plot it.  Any help would be much appreciated, thanks!

 

To Note: LabVIEW 2014, Windows, cDAQ Hardware

 

Desired Output Graph:

cid:image006.jpg@01CFFA78.EB0003E0

 

 

 

 

 

 

Current Code:

 

Current Code.JPG

 

 

 

 

Current Front Panel View of Arrays Being Built:

 

FP.JPG


計測器ドライバファインダ接続はInstrument Driver Networkに接続中に問題が生じました。

$
0
0

計測器ドライバを検索しようとすると、件名のエラーメッセージがポップアップし、ok  ボタンを押すとLabviewのスタートページに戻ってしまいます。

ちょっと前まではちゃんと計測器を検索できたのですが、突然できなくなりました。

接続された計測器を確認したいのですが、それができなくなってしまいました。

当然、インターネット接続は確認しましたし、昨日からネット状態が変わってはいないようです。

 

どのようにしたら、元の通りになるかお教えください。

エラーメッセージの内容は下記の通りです。

 

「NI 計測器ドライバファインダ接続はInstrument Driver Networkに接続中に問題が生じました。インターネット接続を確認してから、再度ダウンロードしてください。それでも問題が解決されない場合は、ni.com/idnetから計測器ドライバーをダウンロードしてください。」

 

よろしくお願いします。

 

网络流 获取另一方IP

$
0
0
大家好 我设置好“网络流读取方”中的“写入方url”,这样就能和“网络流写入方”建立连接。那么我如何在写入端获取读取方的IP呢? 我使用网络流端点得到的是 ni.dex://localhost/data/writer。 谢谢!

network stream get IP address of the other side

$
0
0

Hello 

If I wire the reader url (computer A) input of the Writer Endpoint function in computer B, the Network Stream will run. Then how can I get the IP address of computer B in computer A.

Thanks.

can fuzzy logic based controller be designed in FPGA of NI? The fuzzy controller is designed for controlling shell and tube heat exchanger.

$
0
0

Please provide me some guidance for configuring FPGA with Fuzzy controller .Later with the same control algorithm dumped inside the FPGA will ber interfaced with the SHELL and Tube Heat exchanger.Thanks in advance!!

Controlling E3631A two outputs at the same time with defined voltage values in excel

$
0
0

Hi, 

 

This is my first time in using LabView and I want to control the E3631A power supply remotely using the instrument driver. I have downloaded the driver from this website http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=0475216F9FCA5335E0440003BA7CCD71.

 

Basically there are two different excel files for the two output channels (+6V and +25V). I am currently trying to use the two output channels to step through the voltage defined in excel files every second. I am able to extract the data from excel, but my problem now is that I am not sure on how to control the two channels simultaneously. Could anyone please help me solve this problem?

 

Thank you. 

Viewing all 69238 articles
Browse latest View live


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