Error, in Getting started with Labview. Chapter 3, part 4.
Hi.
Still struggling on, trying to find the time to work through the "Getting Started with LabVIEW" document.
Only 19 days left to go, and I'm still only in chapter 3!...
Right. In the "Saving Data When Prompted by a User" exersise, part 4...
4. Right-click the Signals input of the Write To Measurement File
Express VI and select Insert Input/Output from the shortcut menu to
insert the Comment input.
Problem is, that option is greyed out, so not available!...
I did what the instructions said, I right clicked on the "Signals" input, and it doesnt do what it says on the tin!
Any pointers? Please don't mention search the help, I've crashed the entire LV environment 3 times now, trying to search for something in there. It's OK if it finds someting, but it seems to bomb at times, when there is some ambiguity when searching.
Also, I won't be able to do anyting with any replies for a day or two, as I have to go up country to a customer, and mess about with hot oil, high volts, and lots of RF. It never ends. (I've still got the day job to do, while trying to fight my way through this "evaluation". 30 days of "Use" would be better, than 30 calendar days for some of us.)
Regards.
Dave Baxter.
Technical Manager: AR-UK Ltd.
AR United Kingdom
OK... Who let the smoke out?
Hi Dennis, and everyone else..
That is not how it looks when first dropped on the BD. On my machine, it is partialy expanded by default, after you clear the Configure dialog that pops up ocupying most of the screen.
Again, if it makes a difference to the way the Right Click shortcut menu works, it should be documented in the Getting Started document, especialy as it seems to be a critical point.
OK, explain this...
I've just rubbed out the save to file VI, cleaned up the broken wires etc, and then planted a new one on the BD. Once I cleared the Configure dialog that covers up most of the screen before you see it the first time, the VI was partialy expanded. I forget the exact list, but "Signals" was not at the top.
I did *EXACTLY* the same again, deleted it, cleaned up, and then planted a fresh new one. That DID appear that time with nothing but the "Signals" item showing, and two down caretts below that, indicating more items.
So......
Why the different behaviour each time, on the same BD, in the same session. Some underlying working data not being correctly initialised when invoked? Of course, that never happens, right? ('C' programmes eh?)
Trying some more, it seems the behaviour loosley depends on just how close to the edge of the While loop grey border you place it. Odd. I have a 1280x800 screen to play with, and a 1280x1024 second screen I use for the Getting Started document. That is the absolute maximum I can have, due to hardware limits.
I also find, that if you fully expand the "Write to Measurement File" VI block, then fully collapse it, then expand it again, all the items in that list have changed places! Why?
I had noticed earlier that there is no uniformity in the layout of even the items common to many if not all VI blocks (error in, and error out to name but two) Sometimes one is above the other, sometimes the other way round, sometimes they are not even ajacent to each other. Has that been done as a source of minor ammusement or something?
Talking to another colegue here, who just wandered in to see how I was getting on with this. Seems he also has tried the introductory entry into LV (V8.something) in the past. But he too, found too many things that behaved differently from one time to another, so abandoned it as a lost cause, then decided to learn how to use Visual Basic with NI-GPIB IO instead. Not without issues either he said, but at least it all behaves exactly the same, each and every time.
End of the day now...
Regards.
Dave B.
OK... Who let the smoke out?
Similar Messages
-
Problems getting started with LabVIEW FPGA
Two (probably) related questions:
1. I am trying to get started with LabVIEW FPGA, and I am having trouble using a host VI to test my FPGA VI. I started with a basic QAM modulator VI, to be run on the FPGA, and I have reached the point where I need to verify the logic and timing with this VI running on the development computer with simulated IO. I have tried various combinations of putting the code inside single-cycle timed loops vs not; putting the modulator block directly into the host VI, and using the "FPGA reference" block. When neither the host VI nor the modulator VI use a single-cycle timed loop, I see correct behavior. In every other case, the output of the VI is either absent or incorrect. I need to use a single-cycle timed loop in the FPGA VI to properly verify timing behavior (as far as I know), so the one functioning case is not enough for me.
I'm sure there is a key step I'm missing or misunderstanding, but I have not been able to figure it out myself yet. I've attached my modulator diagram as well as two different attempts at host VIs. I can share other information, but I'm not sure what is most relevant.
2. I am also trying to test a simple wrapper VI for the Xilinx FFT block, and I am having trouble accessing FIFOs inside the host VI. I thought this would be relatively straightforward, but when I tried to change the "method" on an "invoke method" block, there were no options for accessing FIFOs, as I understood there should be. This is a total roadblock for me. These two diagrams are also attached, the test diagram shows the options available to me for the "invoke method" block.
Labview 2013, PXIe-7965R, PXIe-8133 controller.
I had to combine the diagram images; in case they are hard to follow this way, see the individual images here: http://imgur.com/a/oB6OD .
Thanks in advance for any suggestions.
Attachments:
mod_all.png 68 KB
fft_all.png 52 KBHello Monguin61
If you are having problems reading from DMA FIFO's you should test them using a very simple code to understand their behavior. First, you could start taking a look to the linked documents:
Reading DMA FIFOs from Host VIs (FPGA Interface)
Using DMA FIFO to Develop High-Speed Data Acquisition Applications for Reconfigurable I/O Devices
FIFO.Read (Invoke Method)
Then you could test and analyze a simple example to understand how it works, for example this one: Simple DMA FIFO Example for FPGA.
Check the references when you are using DMA FIFO's, I noticed you did not connect them in the second picture attached.
Regards
Frank R. -
Getting started with the compliance checker
I just downloaded the vSPhere compliance checkers, 1 for 5.0, 5.1, and 5.5. When I run the tool against the appropriate vcenter I only get results from 5 hosts.
What do I need to be able to get results from all hosts within vCenter? is this only something that can be done using vRealize Configuration manager?
Please share you knowledge of compliance tools so that I can move forward with the proper solution(s)..
Thanks in advance!Here is the updated version of the manual: http://www.ni.com/pdf/manuals/372946c.pdf
I went to ni.com/manuals and looked for the Getting Started with LabVIEW DSC and found a more recent version that has the correct links. Unfortunately when searching via Google, the older version pops up first.
Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion -
Getting Started with the Power BI Designer
A core part of the new Preview features for Power BI is the Power BI Designer. This lets you create a collection of queries, data connections, and reports that can easily be shared with others. The Power BI Designer integrates proven Microsoft technologies
– the powerful Query engine, data modeling, and visualizations – and works seamlessly with the online
Power BI Service.
For more information you can
read our Getting Started tutorial or
watch a Getting Started video
To find out how to download the Designer please
go hereHere is the updated version of the manual: http://www.ni.com/pdf/manuals/372946c.pdf
I went to ni.com/manuals and looked for the Getting Started with LabVIEW DSC and found a more recent version that has the correct links. Unfortunately when searching via Google, the older version pops up first.
Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion -
We explored using sbRIO for our project, for different reasons we ended up going with a different embedded solution . We are currently evaluating the LabVIEW C Generator to convert some of the core analysis routines from LabVIEW to C so the team that will be creating the embedded solution don't have to re-implement them from scratch.
Before converting our code, I followed the instructions given in the "Getting Started with the NI LabVIEW C Generator" manual to create a static library created inCygwin using GNU Compiler Collection (GCC).
I managed to compile the code, but when I type "run GCD.exe" in the Cygwin console, I just see the window flash with no time to see if the result is correct or not. I modified the main.c cde to add a getchar(), but the window still just flashes and now I am left with the GCD process still running and have to kill it using Windows Task Manager.
Has anyone else got this example to run? I am sure I am missing an obvious setting or step, please help me.
More details below.
Thanks,
Fab
Here is a video showing the steps I followed
If you don't want/can't see the video. Here are some screenshots of what I have done so far:
GratestCommonDivisor.lvproj C Generation build specs Information:
C Function prototype definition:
I copied Makefile located at: C:\Program Files (x86)\National Instruments\LabVIEW 2011\examples\CGenerator\Tutorial\Cygwin
and replaced both Makefile and Makefile.cygwin in the directory where the C code was generated
I also copied main.c from the same location and replaced the one generated
Here is the snapshot of the results after executing "make GCD.exe"
Then to run it I just type
I see a window open and close really quickly and I never see the result. I have tried adding the getchar() line to the main.c file, but still I don't get to see the results.
Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW ChampionHi Kevin,
I hope you had a good Thanksgiving. I am attaching a zip file with the LabVIEW project, my build specification and my version of "Greatest Common Divisor.vi", which should be the same as the one that you have that ships with the LabVIEW C Generator, but just in case. I am also attaching a zip file with the C files generated by the LabVIEW C Generator.
You can also see the video I posted earlier with the steps I followed. I hope you are able to point out where I went wrong.
Thanks,
Fab
Certified LabVIEW Architect * Certified Professional Instructor * LabVIEW Champion
Attachments:
GreatestCommonDivisor.zip 8 KB
CGen Files.zip 71 KB -
I never used LabView but need to generate a RS-233 serial output string that contains an IRIG timestamp based on a contact closure. Is LabView an appropriate tool to do this? How much does it cost to get started with the product?
Labview isn't cheap, but it would certainly allow you to build a program (set of vi's - virtual instruments) that would do what you describe. Where would the timecode information come from? Your vi, or program, would: Start up, initialize the serial port, loop until a trigger happened, read the timecode (from where?), output that timecode out the serial port in a loop until you pressed the stop button. There is a free evaluation of Labview software available from NI - the base product itself runs about $995.
- Dave -
Developerday VM Ora-12505 Getting Started with Oracle SQL Developer 3.0
Just downloaded the VM , Started the tutorial Getting Started with Oracle SQL Developer 3.0
As mentioned in tutorial , I was trying to make a new connection and I am getting following error
Ora - 12505 : TNS Listener doesn't currently know of SID
I gave SID as orcl, and seems to be working OK, can I use orcl for this tutorial
Edited by: OrcArgusDev on Apr 13, 2012 9:01 AM
Edited by: OrcArgusDev on Apr 13, 2012 9:11 AMThanks, I'll survive. Just my luck, the first item I try to anon. debug didn't work! :)
thanks, hopefully this problem will be few and far between -
Java Applet HelloWorld "Getting Started With Applets" example not working
Hi there,
It's been ages since I ran my Linux CentOS boot of Linux but I am going through the official oracle java applet tutorials, just every time I try and run the "Hello World" applet in Firefox 17.0.3 and I am running the Iced Tea thing for java applets.
Every time I try and run the example from the following code:
import javax.swing.JApplet;
import javax.swing.SwingUtilities;
import javax.swing.JLabel;
public class HelloWorld extends JApplet
// called when the user enters the html page:
public void init() // keep apps within the init() function very small as per the http://docs.oracle.com/javase/tutorial/deployment/applet/appletMethods.html
try{
SwingUtilities.invokeAndWait(new Runnable()
public void run()
JLabel myLabel = new JLabel("Hello World");
add(myLabel);
} // end running the application
}); //end of swing invokeand wait
} catch (Exception error){ // end user running the app in page
// System.err.println("GUI didn't work on initial run");
}It keeps bringing up the error "Start: Applet not initialized" I did google that basic error and from what I found I should consult the JavaConsole, I know the console was removed from the Firefox menu quite a while ago. So went to find a way of loading it using the IcedTea one but it keeps bringing up a load of errors in even trying to run that.
Is there anyway of sorting this out? I mean I have even tried installing the one on the oracle website, the plain JDK but nothing seems to work.
Is there anyone that can help me get applets working? I was even going to go as far as to reinstall my distro but I want to avoid that as much as possible.
Thanks and I look forward to any replies,
Jeremy.in the Getting Started with Java DB tutorial they
tell u how to set ur "DERBY_HOME" (what is that?).
once i press enter after typing this command:
set DERBY_HOME=D:\Java\Java
Phonebook\javadb in my command prompt do i get
any message or does it just go to the next line?type env or set or whatever in the command line to see what your environment variables are set to
they also tell u how to set ur "JAVA_HOME" (what is
that?). The Java installation you want to use
in their example they give u this: set
JAVA_HOME=C:\Program Files\Java\j2se1.4.2_05but in my java folder i have jdk1.6.0 and jre1.6.0
but no j2se1.4.2_05, so which 1 must i choose?It's up to you. I'd go with 1.6
also once ive done this: set
DERBY_HOME=D:\Java\Java Phonebook\javadb this
set JAVA_HOME=D:\Program
Files\Java\jre1.6.0 and this set
PATH=%DERBY_HOME%\bin;%PATH% and then type
sysinfo to verify that the variables were set
correctly i get these errors: 'D:\Java\Java' is
not recognized as an internal or external command,
operable program or batch file and '""'
is not recognized as an internal or external command,
operable program or batch file any help would
really be appreciated because this is really killing
me!you need to set your path variable - so something like:
set PATH=C:\Program Files\Java\j2se1.4.2_05\bin -
Getting Started with FCE - Problems with my imported files
Hi,
I'm trying to get started with Final Cut Express, but I'm experiencing lots of problems when I import my project from iMovie.
My project contains video, which I imported into iMovie at 960 x 540. It also contains some keynote animations, which I exported from Keynote as quicktime files.
When I export my files to FCE, I instantly get problems.
1) When I add the imported file to the sequence, I get an "Attention the clip does not match the sequence's setting or any of your sequence settings" error.
2) Whether I choose to translate my settings or not, I try to play the video in the timeline, but there is a continuous beeping sound, no audio from my video and when it hits the keynote animations, it just says "unrendered" or "media offline".
Please can you offer any advice on how I can get started with FCE more successfully.
Thanks!Hi(Bonjour)!
(please specify iMovie and FCE version)
Well, your sequence settings in FCE should be DV-PAL 48 Khz.
Create a new sequence.
From iMovie and Keynote, export your movie with quicktime conversion andd select DV-PAL 48 kHz (*And Not* DV Stream...). This material should play without rendering because his format and codec match the sequence's codec.
Import your files and everything should be OK.
Michel Boissonneault
The audio should be AIFF 48 kHz 16 bit linear PCM -
Getting Started with Swept Sine (DAQmx) Multiple Response Signals
Hi,
I've been using the modified version of the Getting started with swept sine.vi for multiple response signals
https://decibel.ni.com/content/docs/DOC-24474. Program fully suitable.
However, I am facing with three issues :
1) The edits are highly non user friendly (horrible for 6 multi-channel already), and quite long to perform.
2) Would there be a way using for loops to have a more compact and flexible way to use FRF? (Calling 6 times the same program in a similar structure does not quite seem like a smart move yet I'm relatively novice in LabVIEW).
3) Be able to set the number of channels somewhere in the software, and automatically have the software to be able to cope with this? (aka if 20 multichannels are needed, no need to modify the code?)
It's probably going to be a lot of work to get there, all I'm asking for you guys is to point me in the right direction and suggestions,
Cheers,
Kentmey
Kentmeyduplicate post, continue here…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Getting started with Hibernate
Hi Friends,
I am working through my way to get started with Hibernate. I am using the tutorial at http://www.gloegl.de/8.html and I am stuck at running the application. I get the following error
D:\Hibernate>run
D:\Hibernate>D:\jdk1.3.1\jre\bin\java -classpath .\lib\hibernate2.jar;.\lib\jta.
jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\commons-co
llections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\jdbc2_0-stdext.jar;.\bin Even
tManager
Initializing Hibernate
INFO - Hibernate 2.1 final
INFO - hibernate.properties not found
INFO - using CGLIB reflection optimizer
INFO - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets
disabled
INFO - using workaround for JVM bug in java.sql.Timestamp
INFO - configuring from resource: /hibernate.cfg.xml
INFO - Configuration resource: /hibernate.cfg.xml
INFO - Mapping resource: Event.hbm.xml
INFO - Mapping class: Event -> EVENTS
INFO - Configured SessionFactory: null
INFO - processing one-to-many association mappings
INFO - processing one-to-one association property references
INFO - processing foreign key constraints
INFO - Using dialect: net.sf.hibernate.dialect.HSQLDialect
INFO - Use outer join fetching: false
INFO - Using Hibernate built-in connection pool (not for production use!)
INFO - Hibernate connection pool size: 20
INFO - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:data/test
INFO - connection properties: {user=sa, password=}
INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactor
y
INFO - No TransactionManagerLookup configured (in JTA environment, use of proce
ss level read-write cache is not recommended)
INFO - Use scrollable result sets: true
INFO - echoing all SQL to stdout
INFO - Query language substitutions: {}
INFO - cache provider: net.sf.hibernate.cache.HashtableCacheProvider
INFO - instantiating and configuring caches
INFO - building session factory
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
ource
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
va:160)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:726)
at EventManager.<init>(EventManager.java:19)
at EventManager.main(EventManager.java:27)
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
ource
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
va:160)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:726)
at EventManager.<init>(EventManager.java:19)
at EventManager.main(EventManager.java:27)
what jar files/files I need other than mentioned in the tutorial.
please help me to get started with Hibernate...
Thanks for your help and time.java -classpath .\lib\hibernate2.jar;.\lib\jta.jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\asm-1.4.1.jar;.\lib\commons-collections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\xml-apis-2.3.0.jar;.\lib\xerces-2.3.0.jar;.\lib\jdbc2_0-stdext.jar;.\bin de.gloegl.road2hibernate.EventManager
see above classpath and identify....how many jars you missed... :)
All the best
Nilesh -
Getting Started with Wireless: Wireless configuration on 877W router - STUC
Just letting you know that I've already posted an identical post under "Getting Started with Wireless" but don't feel that I'm getting any attention so I made another post. Thank you.
Hi all
I have a Cisco 877W router running IOS v 12.4(15)T3. Have been trying to configure wireless to run WPA-PSK and is stuck at the final stage. Spent a lot of time configuring the router using CLI but ended up using the Web GUI interface. I was able to configure the wireless settings (I think) but failed when connecting to the router from WinXP-SP2 and was wondering if you have any suggestion for me. I've ran the following debugs on the router:
VNRouter#sho debug
DHCP server event debugging is on.
dot11:
802.1X module WPA/WPA-PSK/CCKM key management debugging is on
dot11 Syslog debugging is on
Below is the error message when connecting wirelessly
*Mar 4 18:46:25.655: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
VNRouter#
*Mar 4 18:46:25.659: %DOT11-6-ASSOC: Interface Dot11Radio0, Station VNRouter 001b.771a.dbad Associated SSID[VN-WiLess1] AUTH_TYPE[OPEN] KEY_MGMT[WPA PSK]
VNRouter#
*Mar 4 18:47:25.571: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
*Mar 4 18:47:25.575: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
*Mar 4 18:47:25.575: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded
*Mar 4 18:47:25.579: *** Not encrypted dot1x packet from 001b.771a.dbad has been discarded.
I've created two VLANs (and tied these two vlans to 2 separate SSID) on this router for a reason and so far has not been able to connect to any of them (SSID). I've also attached the config so you can have a look. Thanks in advance for your help.The configuration looks fine. In most cases, the connectivity issues with WPA-PSK is due to the mismatch in PSK on the Client and the AP. Try re-entering the PSK key on both the router and the client and check if you are seeing any issues.
-
Getting started with Java and XML
Hi,
Although I am pretty familiar with Java, I am a total newbie with using it to parse XML. I have been reading quite a few tutorials so am getting a good understanding of it and am thinking of using the DOM model for my purposes.
What I haven't been able to find, however, is how I can actually get started with this. I have tried compiling a few examples and have been getting errors such as:
xmltest.java package javax.xml.parsers does not exist
xmltest.java package org.w3c.dom does not existetc etc...
It looks like these packages don't come with J2SE. Can anyone confirm this? Do I need to download and install the Java Web Services Developer Pack to solve this problem?
Finally, I know I will need an XML parser but have read that JDK 1.4 has it's own parser (Crimson). Is this adequate for parsing XML files or will I also need a parser such as Xerces?
Thanks so much for any help!Hi DrClap,
Thanks for the reply. I have JDK 1.4.1_02 installed on my server but the following error keeps coming up when I try to run my example:
Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/NodeAre there any further packages I need to download in order to run Java with XML? I have read some people install JAXP and XERCES... are these necessary for parsing an XML document or should J2SE 1.4.1 be sufficient?
Thanks for your help!
Jill -
Getting started with swept sine
Hi,
I'm a new user of labview. I'd like to do a swept-sine analysis on my test devices to obtain FRF. I've heard about the "getting started with swept sine "Sound and vibration toolkit"...but how can I use that?Should I install it on labview and read the examples?I want to start from scratch.
I'd appreciate if anybody helps me out.
Thanks
PetarHey Petar,
You can definitely give the sound and vibration toolkit a try for Swept Sine measurements.
You can download an evaluation by following this link and selecting the download option.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/209056
It will ship with quite a few shipping examples that will hopefully get you started.
Matt W.
Applications Engineer
National Instruments -
Simulate induction motor online starting with labview
Hi All,
I want to simulate induction motor online starting with Labview. I have installed labview 2009,with control design and simulation,simulation interface toolkit
Solved!
Go to Solution.Have you looked at the free online LabVIEW tutorials?
Introduction to LabVIEW 3 hour tutorial
Introduction to LabVIEW 6 hour tutorial
Also, there is a control design and simulation tutorial:
Introduction to LabVIEW in 3 Hours for Control Design and Simulation
Check those out...they should get you started.
Maybe you are looking for
-
HI, Just a preface, I have limited experience with visual basic, and no experience with Visual Studio at all. I want to host a website with Visual Studios 2012 from my windows 7 desktop that will take input from the user, do some data manipulation wi
-
Project Wise -- Vendor Liabilities Aging
Hello Experts, How to see project wise "Vendor Liabilities Aging" report. If it's available through query Please share the query. Please help me in this issue. Regards, Umamahesh.
-
Workbook size in BI 7.0
Does anyone have any information with regrads to the size of a BI 7.0 workbook in comparison to 3.x. We are presently converting to BI 7.0 and are noticing a consistent increase of 300% (tripling) in size. This seems to be true regardless of initia
-
WRT160N Dropping Wireless Connection.
Hey, I was wondering if anybody could give me some advice on a problem I've been having. I just recent bought a WRT160N as an upgrade to my old D-Link DI-514, I wanted to have faster wireless speeds. My new router does have much faster speeds, but th
-
Adobe AIR extension for Dreamweaver
I am unble to get the .mxp extension file in the path (Download the Adobe AIR Extension for Dreamweaver here: http://www.adobe.com/products/air/tools/ajax/) that mensioned in Adobe Community Help. How can I get the .mxp file...??