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

Control Newport XPS Q8 linear translation stage

$
0
0

Hello all!!

 

I am trying to control the XPS Q8 linear translation stage (300mm) through labview 11. I constructed a VI which communicates my translation stage and moves according to target position which I set.  For your reference I have attached my VI.

 

Present VI runs the translation stage towards the target position continuosly. Once it reaches the target position, the program will end.

 

Now I need to modify my VI such that stage should moves towards the target position with some time interval instead of running continously.

 

for example, my target position is to reach 100 mm and I need to stop the stage at every 5 mm for 5 sec.

 

1 to 5mm with velocity 1 mm/s and stay at 5mm for 5 sec,

Again 5 to 10 mm with velocity 1 mm/s and stay at 10 mm for 5 sec.

Again 10 to 15 mm with velocity 1mm /s and saty at 15mm for 5 sec.......like this.

 

could you please help to modify my VI.


smtpclient authentication certificate

$
0
0

I am trying to use smtpclient class of .net framework to send emails from labview using my organisation's email server. It's an SSL enabled communication and I have the certificate file .cer with me to enable authentication. I don't know how to include this file in labview. Kindly give your suggestions.

 

Thanks

NI Device Drivers 2016.02 silent install fails

$
0
0

I have downloaded the latest NI Device drives 2016.02 zip file, expanded it and then combined both directories into one.

 

I created the answer file using: setup.exe /generatespecfile path_to_my_file.spec

 

I pretty much left all boxes default during the answer file generation and disabled the check for updates. 

 

When I try to install labview using the answer file, the installation simply stops at the point to select which pieces to install.

 

If I use /q the installation simply fails after a little bit. If I remove the /q to see what is going on, then installation simply starts, but then gets stuck at selecting the pieces to install.

 

Is the NI Decive drives 2016.02 package broken?

 

 

Write string columns to Spreadsheet

$
0
0

Hi,

I have problem.

 

I havea device whichgenerates3data,eg. voltage, current, frequency.

When I run the program, all values are put under him, but I would like to were in the 3 columns.

For example:

Voltage      Current   Frequency

2                 1               5

4                  4              5

5                  3              6

 

The second problem is related when i run program continously. Values are not added to the column but overwritten.

 

save.jpg

 

What do I need to change the program to act as my premise?

 

Regards

Convert from LV 5.1 to LV 2015 (NGPT Rohde und Schwarz)

$
0
0

Hi,

 

I found an old driver for an old device: Rohde and Schwarz NGPT35. It is a power souce.

 

However, I cannot open this old driver in my LV 2015.

 

Is there someone, who can convert this for me, please?

 

Best, Edwar

How to delete rows of the table with help of a button in front panel?

$
0
0

Hi. I have created a vi such that when a button is pressed data is added to a row. How to delete a unwanted row of the table with help of a button in front panel?

Clock / Project help

$
0
0

Hello everyone,

 

Is there a way to create a LINEAR number that increases as long as the loop is runnning? Simular to "LOOP ITTENERATIONS" in while loop. Im trying to create a simple clock type VI that will use that number.


Im basicly trying to make a CLOCK with simple math functions and a loop, but it keeps failing. The math looks good but the loop simply resets instead of adding an additional number to my X. What am i doing wrong?

 

Ive figured out how to make the output into minutes or seconds, and I think I can get a stucture to work with true or false number being LARGER THAN 60 and then minusing 60 from the X to reset the seconds.

 

Some one please help, ive been at this for like over 5 hours...

include a pdf to an .exe

$
0
0

Hi everybody ! 
I have a little issue, how can I include a PDF to an installable VI . ? 
Thanks


character frequency plotter

$
0
0

I am trying to make a text based ASCII character frequency counter/plotter, which takes a ascii text file and plots a kind of character frequency based on its occurence in the input text file.

I feel case structure based approach will be too time cosuming and very simple to implement, looking for a more modular approach, which dynamically creates a variable to store the count value whenever a new character found in the text file. for instance if i input below text lines


****************************************
alkjfglsherjhdcabr3p94053oifnhieufaliudbbdaposduhfpufapsdoifw34t5i3whofuhasdjfhalkjsdfbalsdfarhoaiuerfwiuard

aouwet;aowhta;ljfvnW(#%TCJWG(WN%$RCGW($HGNGa;rspaojfpaj0p9345u23oi4hr098fewfpdsfnupaisjfngoiarufnqfqprufa;ofunareougf;esraoufh

lkjsrhfluerfha;oeurh3[40953woirfhnlfuserfbgsiuergfbselriufbosiufboaisufbaoiufbaiouefbalkejrfbeskrjgfsi

aweurhwo3w[49uthcowthlkwjabfa[3409rhowrefbspdjbvapiu3w[409ojsrgnsjegtfnwivesbgfa;oreighpqfbupoo3w4ho34y50982e;oritgwejrkf

352345iruoefh#@$%OT#MQTGC($%Y(#$TQ(WERFQCWREG;owetnwctu nwrougnwreougtwcerougtwce;rowe
****************************************

Chart output should be
a- number of a's in above string
b- number of b's in above string

#- number of special character

A-number of capital A

B-number of Capital B

1- number of 1's

2-number of 2's

so on..
so on...

How to split a 2D array and create 3D array

$
0
0

Hi,

 

I have a 2D array

Let's say

 

1  2   3   4

2  0   0   0

9   5  6   8

4  0   0   0

 

and I want to split it into 2 pages 

 

Page 1

1  2   3   4

2  0   0   0

 

Page 2

9   5  6   8

4  0   0   0

 

Number of rows and coloumns can be any number and the plit value also can be 2 , 4 or any number 

 

Please help me to implement this

 

MTI-G RT PXI

$
0
0

Hello,

 

I have a problem with acquiring data from my sensor MTi-G 28A53G35. Normally when I work with my computer I can normaly use activeX library to acquire data from sensor but when I connect it by PXI (which I need to do) I have a problem with that. I mean activeX doesn't work with RT PXI. Does anyone work/ed with this sensor and have any .vi or clues how to downloads data from sensor? LabView version 13.

 

Greetings

What does the buffer consist of?

$
0
0

Dear all,

 

I am a beginner on Labview. I am trying to write my first .vi to sweep I-V curve using Keithley 2450.

 

I have some confusions about how to read the buffer of 2450 after the measurement finishing.

 

My question is: What does the buffer consist of?  For example, if  I source Voltage and measure the current, then there might be both voltage value and current value at least in the buffer. So, how can I separate the different values when I excute read buffer SCPI commands? 

 

I have consulted the reference mannual provided by Keithley. It uses  TRACSmiley Very HappyATA? 1, 21, "defbuffer1", SOUR, READ. But I am still confusing about the exact buffer formates. 

 

 

Thanks for any reply.

 

 

Sincerely,

 

John

ADT7310 LV SPI COM

$
0
0

Hello,

 

Has anyone had a VI or can help me for reading temp ( with NI-8452) from the ADT7310 temp sensor. I am not very familiar with SPI.

 

I made a vi (i have LV 2013) but i can't obtain an answer from my device.

 

DataSheet if anybody need: http://www.analog.com/static/imported-files/data_sheets/ADT7310.pdf

 

And i try follow W/R instruction without result: 

 

0b01000000 -> read register 0x00 ( status register)

 

My SPI config:

 

CPOL: 1

CPHA: 1

Clk: 5000

 

Thanks

 

Excel, add sheets to a Workbook using .net

$
0
0

The “add” “sheets” method is generating error 1172 on Excel 2010.

Is there a way to resolve this?

how to create sql server file with labview,don't link it

$
0
0

 I would like to create a new server SQL LabVIEW database.MDF, but only through the UDL connection.


organiser interface labview

$
0
0

Hello ,
 
As part of my PFE, I have to order a generator for generating electrical signals 10 (each electrical signal is characterized by i, u, phase shift, and frequency), each of these signals must be generated 10 fois.A every time I have to read what stallion (an instrument) read (u, i, depahsage and frequency) and that an instrument (linked to al stallion generator and read (u, i, phase shift, frequency)
 
this joint is the program s Please, help me organize the interface, please s c is urgent
 
cordially

Where can i download Touchstone Toolkit v1.00

$
0
0

Could anyone could provide the link to download the Touchstone Toolkit v1.00 or attached the file.

Labview fast acquistion with trigger

$
0
0

Hello,
I am using a DPO 4104 oscilloscope to take waveforms.

I trigger them by a certain value and my VI can save them to a table.

 

This VI I built works really good but it's way to slow. The fastest rate I got was about 3 Hz and I need about 100 Hz.

 

If I get Waveforms from the oscilloscope with 1000 points the files are about 26kb large.

By a 100 Hz rate I'd get 2,6Mbyte per sec which should be okay as I am having my scope connected via usb.

So it can't be a bottleneck in the usb connection I guess.

However it's still too slow.

 

Can you guys please check whats wrong?

 

OPC Server doesn't work

$
0
0

Hello,

 

I didn't find any appropriate subforum for OPC Servers, so I am writing here.

 

I have an NI OPC Server and it crashes when I open Configuration from right-click menu on the OPC Server icon in system tray. I am sending ScreenShoots.

I was using NI OPC Servers 2013 for one driver, I updated it to version 2016, it is still same, it crashes.

What could the problem be? Why can't I change Selected mode setting in Runtime Porcess tab?

 

In the warning, it says that "Server-Configuration doesn't work due to an error. the programm is being closed".

 

OPC.PNG

 

OPC2.PNG

 

 

I deactivated DCOM settings, but still same.

 

opc4.PNG

 

Looking for help using the SPI on a USB-8451 to interface to a SC16IS752

$
0
0

Trying to interface the USB-8451 to a circuit that is using a SC16IS752 Daul UART set up in the SPI mode. This involves setting up the UARTS and then communicating with the serial ports. Using LabVIEW and can send but not recieving anything, I'm assuming it's because I haven't sent it any valid commands.

 

Any help would be great!

Steve

Viewing all 69662 articles
Browse latest View live


Latest Images

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