Simple bluetooth example labview pda
hi, im trying to use the simple bluetooth examples on the pda, i can compile and run the client on the pda no problems but when i try running the server on the computer it just stops straight off, i thought it was the timeout but thats still at 3000 and i havent changed anything on it.
i running xp pro sp2, broadcom 2045 adapter and a ipaq 5550 with bluetooth
any help would be ace
cheers
andy
Hi Andy,
LabVIEW will only support devices that use Microsoft's Bluetooth Stack, and unfortunatly it appears yours does not. The following list of bluetooth devices are supported by Microsoft's bluetooth stack and therefore LabVIEW:
Belkin F8T012UK1 EDR Bluetooth USB Adapter
Belkin F8T003 Bluetooth USB Adapter - 10 Meters ( Belkin F8T003 ver. 2 don't seems to work )
Billionton GUBTCR41 - 100 m (Software included in the package not installed)
Conceptronic "Bluetooth 2.0 USB Adapter 200M" CBTU2A / CBT200U2A (Software in the package not installed)
Dell Wireless 350 Bluetooth Module
D-Link DBT-120 Bluetooth Adaptor
Encore USB Dongle (Microsoft Stack)
Exwell BD-U08 EDR Bluetooth USB Adapter
Exwell BD-U01 Bluetooth USB Adapter - 10 Meters
Kensington USB K33085 (Microsoft Stack)
GigaByte Bluetooth USB Adapter GN-BT05D (Software included in the package not installed)
Hama Bluetooth Dongle 00049207 (Software included in the package not installed). Inquiries seems to hang after a while ..
IBM Integrated Bluetooth II on ThinkPad T40 (with driver from Microsoft; file version: 5.1.2600.2180, xpsp_sp2_rtm.040803-2158)
Trust BT 1300 TP Bluetooth USB adapter (Software included in the package not installed)
Trust BT 2200 TP Bluetooth USB adapter (Software included in the package not installed) (Microsoft Stack and Widcomm)
Perfect choice USB Adapter (Microsoft Stack and Widcomm)
Sorry I can't give you a more possive resolution but unless your device is compatible with the Microsoft Bluetooth Stack it won't work I'm afraid.
Best Regards,
Ian Colman
Applications Engineer
National Instruments UK & Ireland
Similar Messages
-
Bluetooth simple client example question
Dear all,
I am not sure whether I am close to make it. I update my bluetooth driver {http://forums.ni.com/ni/board/message?board.id=170&message.id=301780#M301780}, so it seem the labview (simple bluetooth server example) can work with my bluetooth (please read the first picture). However, the error message comes up when I run the simple client program. I have a question. Do I have to make the client and the server program in two computer?
I need your help
Thanks
====================
=Labview 7.0 & 8.0 & 8.5=
=====================
Attachments:
labview5.JPG 203 KB
labview6.JPG 214 KBJust want to make a couple things clear
1. my bluetooth device is working well, after I remove dell driver and using XP bluetooth stack <-----I think
2. I can run the server without no problem, the problem comes from the client part.
I have attached the pic from the device manager
Please help, failure will lose my job
====================
=Labview 7.0 & 8.0 & 8.5=
=====================
Attachments:
labview7.JPG 41 KB -
Please tell me how to use the Simple bluetooth client server example.
Hi i used the simple bluetooth client server example in labview 7.1. Iam getting an error saying your system does not support the network operation. I have following doubts also.
1. Should i pair the device before running the labview.
2. Should i enable the file transfer wizard in the software given with the bluetooth adapter.
Please help
Thank you
R.Prem kumar
09940446193Hi R.Prem,
Could you please let me know what error code is associated with this error message? Also could you please provide a description of the setup you are currently using? Thanks!
Best regards,
Steven -
Searching for simple bluetooth to bluetooth messages tutorial or example
Hi,
I want to send messages from 1 mobile phone to another one using Bluetooth but I can't find any simple tutorial or example with this type of bluetooth use.
So i'm asking for your help :) any simple tutorial/example for bluetooth messages between devices?
Thanks in advanceimport java.util.Vector;
import java.io.IOException;
import javax.microedition.io.Connector;
import javax.microedition.io.ConnectionNotFoundException;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.TextField;
import javax.microedition.lcdui.StringItem;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.ChoiceGroup;
import javax.microedition.lcdui.Choice;
import javax.bluetooth.LocalDevice;
import javax.bluetooth.RemoteDevice;
import javax.bluetooth.DiscoveryAgent;
import javax.bluetooth.DataElement;
import javax.bluetooth.DeviceClass;
import javax.bluetooth.UUID;
import javax.bluetooth.DiscoveryListener;
import javax.bluetooth.ServiceRecord;
import javax.bluetooth.L2CAPConnectionNotifier;
import javax.bluetooth.L2CAPConnection;
import javax.bluetooth.BluetoothStateException;
import javax.bluetooth.BluetoothConnectionException;
import javax.bluetooth.ServiceRegistrationException;
public class ChatController extends MIDlet implements CommandListener
private Display display = null;
private Form mainForm = null;
private ChoiceGroup devices = null;
private TextField inTxt = null;
private TextField outTxt = null;
private Command exit = null;
private Command start = null;
private Command connect = null;
private Command send = null;
private Command select = null;
private StringItem status = null;
private LocalDevice local = null;
private RemoteDevice rDevices[];
private ServiceRecord service = null;
private DiscoveryAgent agent = null;
private L2CAPConnectionNotifier notifier;
private L2CAPConnection connection = null;
private static final String UUID_STRING = "112233445566778899AABBCCDDEEFF";
private boolean running = false;
public ChatController()
super();
display = Display.getDisplay(this);
mainForm = new Form("CHAT");
devices = new ChoiceGroup(null,Choice.EXCLUSIVE);
inTxt = new TextField("incoming msg:","",256,TextField.ANY);
outTxt = new TextField("outgoing msg:","",256,TextField.ANY);
exit = new Command("EXIT",Command.EXIT,1);
start = new Command("START",Command.SCREEN,2);
connect = new Command("CONNECT",Command.SCREEN,2);
send = new Command("SEND",Command.SCREEN,2);
select = new Command("SELECT",Command.SCREEN,2);
status = new StringItem("status : ",null);
mainForm.append(status);
mainForm.addCommand(exit);
mainForm.setCommandListener(this);
protected void startApp() throws MIDletStateChangeException
running = true;
mainForm.addCommand(start);
mainForm.addCommand(connect);
display.setCurrent(mainForm);
try
local = LocalDevice.getLocalDevice();
agent = local.getDiscoveryAgent();
catch(BluetoothStateException bse)
status.setText("BluetoothStateException unable to start:"+bse.getMessage());
try
Thread.sleep(1000);
catch(InterruptedException ie)
notifyDestroyed();
protected void pauseApp()
running = false;
releaseResources();
protected void destroyApp(boolean uncond) throws MIDletStateChangeException
running = false;
releaseResources();
public void commandAction(Command cmd,Displayable disp)
if(cmd==exit)
running = false;
releaseResources();
notifyDestroyed();
else if(cmd==start)
new Thread()
public void run()
startServer();
}.start();
else if(cmd==connect)
status.setText("searching for devices...");
mainForm.removeCommand(connect);
mainForm.removeCommand(start);
mainForm.append(devices);
DeviceDiscoverer discoverer = new DeviceDiscoverer(ChatController.this);
try
agent.startInquiry(DiscoveryAgent.GIAC,discoverer);
catch(IllegalArgumentException iae)
status.setText("BluetoothStateException :"+iae.getMessage());
catch(NullPointerException npe)
status.setText("BluetoothStateException :"+npe.getMessage());
catch(BluetoothStateException bse1)
status.setText("BluetoothStateException :"+bse1.getMessage());
else if(cmd==select)
status.setText("searching devices for service...");
int index = devices.getSelectedIndex();
mainForm.delete(mainForm.size()-1);//deletes choiceGroup
mainForm.removeCommand(select);
ServiceDiscoverer serviceDListener = new ServiceDiscoverer(ChatController.this);
int attrSet[] = {0x0100}; //returns service name attribute
UUID[] uuidSet = {new UUID(UUID_STRING,false)};
try
agent.searchServices(attrSet,uuidSet,rDevices[index],serviceDListener);
catch(IllegalArgumentException iae1)
status.setText("BluetoothStateException :"+iae1.getMessage());
catch(NullPointerException npe1)
status.setText("BluetoothStateException :"+npe1.getMessage());
catch(BluetoothStateException bse11)
status.setText("BluetoothStateException :"+bse11.getMessage());
else if(cmd==send)
new Thread()
public void run()
sendMessage();
}.start();
//this method is called from DeviceDiscoverer when device inquiry finishes
public void deviceInquiryFinished(RemoteDevice[] rDevices,String message)
this.rDevices = rDevices;
String deviceNames[] = new String[rDevices.length];
for(int k=0;k<rDevices.length;k++)
try
deviceNames[k] = rDevices[k].getFriendlyName(false);
catch(IOException ioe)
status.setText("IOException :"+ioe.getMessage());
for(int l=0;l<deviceNames.length;l++)
devices.append(deviceNames[l],null);
mainForm.addCommand(select);
status.setText(message);
//called by ServiceDiscoverer when service search gets completed
public void serviceSearchFinished(ServiceRecord service,String message)
String url = "";
this.service = service;
status.setText(message);
try
url = service.getConnectionURL(ServiceRecord.NOAUTHENTICATE_NOENCRYPT,false);
catch (IllegalArgumentException iae1)
try
connection = (L2CAPConnection)Connector.open(url);
status.setText("connected...");
new Thread()
public void run()
startReciever();
}.start();
catch(IOException ioe1)
status.setText("IOException :"+ioe1.getMessage());
// this method starts L2CAPConnection chat server from server mode
public void startServer()
status.setText("server starting...");
mainForm.removeCommand(connect);
mainForm.removeCommand(start);
try
local.setDiscoverable(DiscoveryAgent.GIAC);
notifier = (L2CAPConnectionNotifier)Connector.open("btl2cap://localhost:"+UUID_STRING+";name=L2CAPChat");
ServiceRecord record = local.getRecord(notifier);
String conURL = record.getConnectionURL(ServiceRecord.NOAUTHENTICATE_NOENCRYPT,false);
status.setText("server running...");
connection = notifier.acceptAndOpen();
new Thread()
public void run()
startReciever();
}.start();
catch(IOException ioe3)
status.setText("IOException :"+ioe3.getMessage());
//starts a message reciever listening for incomming message
public void startReciever()
mainForm.addCommand(send);
mainForm.append(inTxt);
mainForm.append(outTxt);
while(running)
try
if(connection.ready())
int receiveMTU = connection.getReceiveMTU();
byte[] data = new byte[receiveMTU];
int length = connection.receive(data);
String message = new String(data,0,length);
inTxt.setString(message);
catch(IOException ioe4)
status.setText("IOException :"+ioe4.getMessage());
//sends a message over L2CAP
public void sendMessage()
try
String message = outTxt.getString();
byte[] data = message.getBytes();
int transmitMTU = connection.getTransmitMTU();
if(data.length <= transmitMTU)
connection.send(data);
else
status.setText("message ....");
catch (IOException ioe5)
status.setText("IOException :"+ioe5.getMessage());
//closes L2CAP connection
public void releaseResources()
try
if(connection != null)
connection.close();
if(notifier != null)
notifier.close();
catch(IOException ioe6)
status.setText("IOException :"+ioe6.getMessage());
import java.util.Vector;
import javax.bluetooth.RemoteDevice;
import javax.bluetooth.DeviceClass;
import javax.bluetooth.DiscoveryListener;
import javax.bluetooth.ServiceRecord;
public class DeviceDiscoverer implements DiscoveryListener
private ChatController controller = null;
private Vector devices = null;
private RemoteDevice[] rDevices = null;
public DeviceDiscoverer(ChatController controller)
super();
this.controller = controller;
devices = new Vector();
public void deviceDiscovered(RemoteDevice remote,DeviceClass dClass)
devices.addElement(remote);
public void inquiryCompleted(int descType)
String message = "";
switch(descType)
case DiscoveryListener.INQUIRY_COMPLETED:
message = "INQUIRY_COMPLETED";
break;
case DiscoveryListener.INQUIRY_TERMINATED:
message = "INQUIRY_TERMINATED";
break;
case DiscoveryListener.INQUIRY_ERROR:
message = "INQUIRY_ERROR";
break;
rDevices = new RemoteDevice[devices.size()];
for(int i=0;i<devices.size();i++)
rDevices[i] = (RemoteDevice)devices.elementAt(i);
controller.deviceInquiryFinished(rDevices,message);//call of a method from ChatController class
devices.removeAllElements();
controller = null;
devices = null;
public void servicesDiscovered(int transId,ServiceRecord[] services)
public void serviceSearchCompleted(int transId,int respCode)
import javax.bluetooth.RemoteDevice;
import javax.bluetooth.DataElement;
import javax.bluetooth.DeviceClass;
import javax.bluetooth.DiscoveryListener;
import javax.bluetooth.ServiceRecord;
public class ServiceDiscoverer implements DiscoveryListener
private static final String SERVICE_NAME = "L2CAPChat";
private ChatController controller = null;
private ServiceRecord service = null;
public ServiceDiscoverer(ChatController controller)
super();
this.controller = controller;
public void deviceDiscovered(RemoteDevice remote,DeviceClass dClass)
public void inquiryCompleted(int descType)
public void servicesDiscovered(int transId,ServiceRecord[] services)
for(int j=0;j<services.length;j++)
DataElement dataElementName = services[j].getAttributeValue(0x0100);
String serviceName = (String)dataElementName.getValue();
if(serviceName.equals(SERVICE_NAME))
service = services[j];
break;
public void serviceSearchCompleted(int transId,int respCode)
String message = "";
switch(respCode)
case DiscoveryListener.SERVICE_SEARCH_COMPLETED:
message = "SERVICE_SEARCH_COMPLETED";
break;
case DiscoveryListener.SERVICE_SEARCH_ERROR:
message = "SERVICE_SEARCH_ERROR";
break;
case DiscoveryListener.SERVICE_SEARCH_TERMINATED:
message = "SERVICE_SEARCH_TERMINATED";
break;
case DiscoveryListener.SERVICE_SEARCH_NO_RECORDS:
message = "SERVICE_SEARCH_NO_RECORDS";
break;
case DiscoveryListener.SERVICE_SEARCH_DEVICE_NOT_REACHABLE:
message = "SERVICE_SEARCH_DEVICE_NOT_REACHABLE";
break;
controller.serviceSearchFinished(service,message);//calling a method from ChatController class
controller = null;
service = null;
} -
Bluetooth Read VI error - simple bluetooth client/server
Hello,
I've been able to run both the simple and advanced bluetooth LV examples, but I can't make the simple code below to work between my laptop and my PDA. Connection is established, but the Bluetooth Read VI returns an empty string.
Thanks in advance for any ideas.
Server
ClientHello,
Take a look at the link below, it has a lot of information about using bluetooth within LabVIEW.
http://digital.ni.com/public.nsf/allkb/921795DD63E315B686256DD60082B252?OpenDocument
Thanks.
Best Regards
Luciano Borges
R&D Engineer
Pirelli Brazil -
Error message when building an application for Labview PDA
When using LabView PDA module to build an application for a PDA target, I receive the following message: "Error building executable. Unable to create file". Why is this happening?
When looking at the error log, it reads "The system cannot find the file specified."
This happens even when looking at one of the Labview PDA example VI's, so it is not a result of the VI containing functions of features not supported by Labview PDA.
When installing Labview PDA, I installed files as follows, and in this order:
(i) Labview 7.1 (installed previously)
(ii) Microsoft eMbedded Visual C++ 4.0
(iii) Microsoft eMbedded Visual C++ 4.0 SP 3.0
(iv) Microsoft SDK for Windows Mobile 2003-based Pocket PCs
(v) Microsoft ActiveSync 3.8
(vi) NI Labview 7.1 PDA module for PocketPC
(vii) DAQmx Base 1.0 for PDA or later
Any ideas?Did you attempt to add the _wordsub.llb and _excelsub.llb files to the application as support files? I believe in LabVIEW 8.0 instead of adding the entire LLBs you should just add the _Word Dynamic VIs.vi and _Excel Dynamic VIs.vi as dynamic VIs. I think I've seen a similar post on the discussion forums in the past that recommended this.
If this suggestion doesn't help, please reply, and attach a simple VI and .lvproj file demonstrating the problem so I can investigate further.
Good luck,
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman -
How to create a login interface in labview PDA module?
How to create a login interface in labview PDA module? So that it checks with a list of usernames and passwords and allow to go to another VI?
AnuAnu,
I've attached a really short example that does something like what you're talking about. It just compares the user's username and password a pre-determined username and password and then "logs the user in" based on that comparison. Like Greycat said, you probably want to store this username and password info in some sort of file on the PDA that's in an encrypted format for both security and flexibility of your application.
I hope this helps,
Justin D.
Applications Engineer
National Instruments
Attachments:
LoginVI.vi 17 KB -
Accessing mySQL database from Labview PDA
Hi,
Has anyone tried writing data to a mySQL database or any other database for that matter using the Labview PDA module? I know it's easy to do from Labview and you have to download the ODBC drivers to get it working but I don't think these drivers are available for Windows Mobile (I've seen XP and Linux drivers only). Any help would be appreciated.
ThanksHello,
I don't have experience with this, but you might look into the following:
1. remote connections: http://www.geekzone.co.nz/content.asp?contentid=2656
2. this thread seems to indicate .NET doesn't support it yet (but it's over a year old...): http://forums.mysql.com/read.php?38,73109,73109
3. Another option - you can use VI Server to have your PDA VI call a VI on your host machine if they are networked... there is an example of this that ships with LabVIEW PDA I think - check it out! Thus, if the db is on your host machine, you could write your host VI, and have your PDA VI call it etc.
I hope this helps!
Best Regards,
JLS
Best,
JLS
Sixclear -
LabView PDA module gives error "unable to lock memory chunk"
I've written a LabVIEW PDA Application that reads an ASCII decimal string through a PDA serial port. I can display the string ok, but when I try to convert the string to a number using the decimal string to number VI I get the error message "App failed. Error Code 172649003. Unable to lock memory chunk."
Any ideas?
Cheers, Paul
Naval Surface Warfare Center - Carderock Division
West Bethesda, MDDoes this happen whenever you use the string to number VI (can you reproduce this in an empty VI)?
Are you sure it happened because of that VI and not because of something else that is happening in the VI at the same time?
Can you cut down pieces of the code and still get the error? Can you post a small example?
Which PDA\LV are you using?
Can you write some more details about your app (does it do anything else other than serial comm)?
Try to take over the world! -
Winsockread Error in LabVIEW PDA
Hi all. I am currently trying out the VI server example given in the LabVIEW PDA toolkit but i keep getting this error "WinsockRead error Error Code: 10054.
The LabVIEW example project I am using is "VI Server- Pocket PC.lvproj" and I have loaded the "CallByRef Wave - Pocket PC.vi" into the PDA. I have a WIFI connection to a PC and have manually assigned IP address to both the PDA (192.168.100.101) and PC (192.168.100.100). I have verified my WIFI connection is working by using the "ping 192.168.100.101" command on my PC.
Also, I am configured my VI server correctly by selecting the enabling the TCP/IP protocol and ActiveX under the VI Server Configuration. The port number I used is 3363. I have also added the PDA IP address (192.168.100.101) to the Machine Access List.
When I try to run the example program on the PDA with the IP address "192.168.100.100" and a port number of 3363, I will get the error. Can anyone give advice on what I have missed out or done wrongly?
I forgot to mention that the remote program "TargetWave.vi" on the PC is loaded in memory and opened in LabVIEW also.
Thanks in advance.D.Com,
I just thought of something else to try. You said you are using port 3363. The program was initially set up to use Port 3865. Did you change the VI server properties (From the project, right click on the my computer icon>>properties>>VI server: Configuration) to port 3363 or just the control on the front panel of the CallByRef Wave.vi? Both must be set to the same port.
Secondly, you may have to open a port in your firewall if you are using WindowsXP SP2. Initially I would completely disable the firewall and see if that solves the problem. If it does, then enable the firewall and create an exception of the port you've specified (3363).
As for using the trial version, this should have no impact on the performance of the toolkit.
Best Regards,
Chris C
Applications Engineering
National Instruments
Chris Cilino
National Instruments
LabVIEW Product Marketing Manager
Certified LabVIEW Architect -
I have a problem with displaying measurment file on the waveform graph in the PDA. I understand that PDA have some function constraints and does not support "Read from measurment file"function. Is there any way to convert the measurment file to a file which the PDA waveform graph able tom display the result or should i replace the "write to measurment file" function to other function e.g write to spreadsheet? How do I include the header,time and date in a spreadsheet heading?
It would probably be best to originally write your data in a tab-delimited format (including labels, time stamps, etc). Then, you can program the Read from Text File function in LabVIEW PDA to mimic the behavior of the Read from Spreadsheet File VI in LabVIEW.
Once you place the Open/Create/Replace File and Read from Text File VIs on your block diagram, you can write click on the Read from Text File VI and select the Read Lines option. Next, scan through each line for tab characters using the Scan String for Tokens VI, and finally build up a 2D array of all elements in your text file. This may sound a bit confusing, so I have attached a small example VI to this post below (PDAReadFromTextFile.vi). Don't forget to use the Close File VI when you are done reading from disk.
Keep in mind that PDAs do not support array indicators, so you must view any front panel data as individual strings (or one large concatenated string). The Index Array function on the Array palette should come in handy here.
I hope this helps!
Casey Weltzin
Applications Engineer
National Instruments
Message Edited by Caseyw on 05-29-2007 09:08 PM
Attachments:
PDAReadFromTextFile.vi 21 KB
test.txt 1 KB -
LabVIEW PDA customize boolean control with picture
For a PDA application, I'm looking for a way to customize a boolean indicator. To do this I went in the customize option of the boolean and then import picture for the false and true state. in programming mode I see the correct picture for the different states but when I download this application on my PDA (TPC-2006 with winCE) in only see a blank picture on the boolean. Is this a limitation of the LabVIEW PDA or is there another way to do this ? (see example in attachement)
Thanks in advance for your help.
Attachments:
EC-103.vi 12 KBHey Poussin,
You bumped into a boundry of LabVIEW PDA. LabVIEW PDA did not support custom controls at all uptil very recently. Only since LV PDA 7.1 there are a few features which are possible like coloring and resizing, see the link below.
http://digital.ni.com/public.nsf/websearch/08DD9CAACA1F64F586256E920061E4CD?OpenDocument
Using pictures however is not possible. The control will have its functionality on the PDA but it will not show its decoration.
Regards,
Wouter
National Instruments -
LabVIEW PDA reports COREDLL.DLL error when using Call Library Function Node
I'm trying to build a LV PDA app that calls an external DLL file built using embedded visual C. When configuring the Call Library Function node I select the stub DLL, configure the I/O parameters and select OK. When the configuration dialog closes I get the following error:
LabVIEW: LabVIEW.exe - Unable to Locate Component
This application has failed to start because COREDLL.DLL was not found. Re-installing the application may fix this problem.
I do not get this error when using the configuration dialog in the example VIs.
Any suggestions as to the cause and/or the solution?
Thanks,
RyanHello -
When you create a PDA VI that calls a DLL, you must include the .c or .lib file that corresponds to the DLL. Take a look at these documents:
LabVIEW PDA Module Build Errors with VIs that Call DLLs
Why Do I Receive Errors When Calling a C++ DLL from a Call Library Node Using the LabVIEW PDA Module...
How To Call External Code in LabVIEW PDA for Palm OS
H
ow To Call External Code in LabVIEW PDA for Pocket PC
Hope this helps!
S Vences
Applications Engineer
National Instruments -
Is LabView PDA compatible with IPhone?
Hi there,
I've used LabView PDA as a Smart interface for remote sensors, which broadcast realtime data via Bluetooth interface.
I wondered if LabViewPDA could run in an Iphone, from Apple, to comunicate wirelessly via Bluetooth.
Thanks,
Anisio.As far as I know, remote panels in a browser are only implemented as ActiveX controls. They require installing the RTE, didn't work on Windows Mobile, and probably don't even work in the desktop mac.
If you only do viewing, however, they should be just an image, and that should be accessible from any browser.
Try to take over the world! -
Bug in Teststand 2014 Simple UI Example ?
Hi,
I am using Teststand 2014 and LabVIEW 2013 SP1.
I would like to create a UI for a Teststand sequence that I have created.
I have started with the Simple UI example (Source Code) shipped with NI.
Located at - C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\UserInterfaces\Simple\LabVIEW\Source Code
I have encountered with an unexpected behaviour - when running the User Interface VI and selecting a Sequence, it works fineat first, but if I Exit the application (the VI return to edit mode), I cannot run the application again until I close LabVIEW completely.
There seems to be more resources that are open.\\
Steps to reproduce -
1. Create an Empty VI (called 1.vi for example)
2. Create a Sequence that only calls the 1.vi in the Main Group. (called 1.seq for example)
3. Open 'Build Script.lvproj' located at "C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\UserInterfaces\Simple\LabVIEW\Source Code"
4. Open and run Top-Level.vi.
5. Click on 'Open Sequence File' and Select the 1.seq, Click on 'Single Pass' and the application should finish running the sequence (with the one VI in it) very fast.
6. Exit the application.
7. repeat on steps 4 and 5.
Am I missing something ?
When using the compiled application (exe), it works fine when called repeatedly.
I would like to be able to add changes to the VI and to be able to run it again and again...
Amitai.
Hi,
I tried with the same combination and did the exact steps to reproduce.
With the "Reserve Loaded VIs for execution" enabled i am seeing this :
After execution is completed if i click on close execution and close sequence file, the empty test vi is read only (reserved - not in edit mode)
However when i disable this :
After execution and clickingon "close execution" + "close sequence file" -- i can edit the test vi.
Probably i am missing something from the steps to reproduce?
Additionally did you observe this behaviour with other UI/Sequence editor?
Regards,
Ravi
Maybe you are looking for
-
With Dropbox, I right click on a file within my designated Dropbox folder and choose share Dropbox link. This copies a unique URL that I can send to anyone to then download that file and that file only. I do not have to add people to my access list
-
I need to transfer video from a camcorder to my iMac what cables needed?
I have an old Canon Optura 300. I just realized that it still has a tape in it with important memories I would like to preserve. I suppose I could get a disk made, but I would rather do the transfer to my imac myself and have the "tools" needed. Acco
-
Calling a report into another report
Hi, I want to call report2(ALV) containg output table ITAB into report 1. How to write SUBMIT statement for this and how to bring ITAB into report1 from report2.Please help. Thanks Venkat
-
Password protecting an event or album in iPhoto.
Is it possible to restrict access to a photo event or an album in iPhoto?
-
Enhance the view "InboxSearch" in the cpmpoent "ICCMP_INBOX/InboxSearch"
Dear Expert, I need to enhance the view "InboxSearch" in the cpmpoent "ICCMP_INBOX/InboxSearch" with new field for example: Affected employee (Partner number and Partner Function both as F4 Search. Could you give a step by step description, how to do