Dan Bookwalter
-
Posts
103 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Dan Bookwalter
-
-
I have a project that runs just fine in the development environment , but , once I build it into a stand alone app it throws a dialog box with about 35 302208 errors (see attached). This project uses Classes , DAQmx , Report Generation Toolkit (Excel) and some RS232 stuff.
I have mass compiled the project , removed any bad files , fixed dependency errors that I saw , rebuilt the project but it still throws these errors , any suggestions ? there isn't to much on the NI website.
Dan
-
QUOTE (Neville D @ Oct 23 2008, 12:37 PM)
I'm not trying to be negative here, but what's the motivation behind trying essentially a research-level project without the right set of tools?With IMAQ you could probably threshold the images to highlight colors of interest (maybe bright colored clothes that a person might be wearing) and then try the Diff of the images. Or split the image into regions and try diff'ing just the regions.
Vision applications are usually quite complex however simple they may seem to (since everyone has eyes, and even a 1-year old can tell when someone's in the room) to the outside observer.
The jpeg file may not be the best for image processing. Try a non-lossy file format like png for better results.
Neville.
Neville
Well the problem here is that I work in the Auto industry and with the current state of that sector of the economy we are under a spending freeze for the time being. I cant give you actual numbers but we are way down on our budgeted income/profit for this year , all i will say is there are LOTS of zeros and more than one comma in our shortfall this is also a side project so i would have no chance of acquiring the IMAQ/Vision stuff at this time, and JPEG is the only format the camera has so it is what i am dealing with. as i said i have a crude method that works fairly well , i dont miss any events , but , i do have extras (too many). Of the 17000+ images that get FTP'ed during the day i end up with less that 600 files which i make into a movie , i just have lots of 'dead space' in my movie(s)....
Dan
-
QUOTE (TobyD @ Oct 23 2008, 11:26 AM)
I haven't tried this, but if I were to approach the issue without IMAQ or Vision I would start by comparing the image data of the two images. In the image data cluster is "image" array. Compare these arrays to a threshold value. If they differ by more than 80% (you'll have to play with the value) you know you have pretty significant changes in the picture.-Toby
Toby
that basically what i am currently doing , i need to work on how i do the comparison and the percent change , i was hoping maybe others have already gone down this road and could head me in the right direction....
Thanks
Dan
-
I have a web cam that FTP's an image every 5 seconds , I need to process these images to see if anyone is in the lab. I tried inverting one of the images and adding them together , but there are too many changes. the web cam is mounted to an I-beam which does move very slightly so there are always little changes , i have a very crude method that cuts down on the number of images i save but i still get many images with no real changes. I don’t not have any of the NI Vision or IMAQ toolkits and wont be getting them. Anyone have any ideas on how I can process these images more effectively ?
Thanks
Dan
-
QUOTE (Aristos Queue @ Sep 5 2008, 09:53 AM)
Just downloaded the presentation , I wish I could have been there to see it in person.... looking forward to working my way through it , also glad to see you/NI adopted Matt's book....
Thanks for all the work !!
Dan
-
-
I have been playing around just a little bit with web services (LV 8.6). I have just started looking into Adobe Flex 3 , is anyone utilizing the web services to display/control apps ? are there any good examples around , i have only run across the web services demo from NI so far and am trying to work my way through it...
thanks
Dan
-
QUOTE (sandesh @ Aug 29 2008, 08:28 AM)
Would yo kindly mail me runtime engine? I've got Labview 8.5 and hence with Runtime engine I can see the code.Pl. send the file in LAVA.
Hi!
Thanks !
I am aware of this site but it doesnot have 5.0.1.
Any other source?
Sandesh
if you really need to see the code , send it to me (if it isn't too large) and I will bring it up to a version that can be opened with 8.5 and send it back....
send it to n8dcj@yahoo.com
Dan
-
QUOTE (TobyD @ Aug 13 2008, 12:57 PM)
Does it have to be USB 1.1? Most all of them are backwards compatible with USB 1.1 devices.Toby
yep i has to be 1.1 , the hubs that are 2.0 seem to lock up the devices attahced to them , they are a convoluted device that is using a usb mouse driver to transfer data , and not doing it very well , we located a 1.1 hub and it seems to be working much better....
Dan
-
I know this is an odd request , but , does someone know where we may be able to find a USB hub with at least 6 ports that is USB version 1.1.... We don't have time for Ebay etc... need to locate one and have it in hand by Friday (8/15) morning ....
Thanks
Dan
-
QUOTE (Tim_S @ Aug 7 2008, 01:27 PM)
When you wrote shaker I was thinking of something like http://www.bksv.com/doc/bp2101.pdf, which is quite a bit smaller. What you have seems like a guaranteed noise source, though I would think that it would be more at a fixed frequencies. You could get broad-spectrum noise if the shaker uses a variable frequency drive and the drive is attempting to hold position. (We have this problem with synchronous AC motors.)Yep , these are a little larger ....they are 20 KVA amps and 4000 lbf shakers , although not that large in the vibration business... i am now wondering about the drive , since when you enable the modules it automatically centers the armature and holds it there , so they may be doing a VFD type drive...
Dan
-
QUOTE (AnalogKid2DigitalMan @ Aug 7 2008, 11:11 AM)
Dan:Can you scope out the frequency content of the noise near the DAQ and then trace higher amplitude back upstream towards the amp? Appears like amp enable makes the drive amps the culprit- what's the make/model. Sounds like you have a good handle on grounding and wiring practices, these things can be a bear since it could be conductive, capacitive coupled, or radiated induced noise. Have you tried moving the amp ground somewhere else and is it an option to safely run it ungrounded as a test? Even with a system schematic and pics it is hard to guess what the issue might be without being on-site.
-AK2DM
well i did some quick FFT stuff on the data i took and it just shows up as random white noise , i still have to check and make sure i got the analysis stuff correct. I think its the strong electrical/magnetic fields around the shaker that is causing the issues , the amp is about 15 feet away , but the shaker is right there obviously since the DUT's have to be attached to it to shake .... the Amp is an LDS SPAK20 and the shaker is an LDS V850-240.
Dan
-
QUOTE (Tim_S @ Aug 6 2008, 05:03 PM)
QUOTE (AnalogKid2DigitalMan @ Aug 6 2008, 05:46 PM)
What technology is the amplifier based on (i.e VFD, servo, voice coil driver)?Are the 480V lines in steel conduit?Do you have access to an oscilloscope?Sorry for more queries.The amplifier is a Voice Coil Driver , the 480V is not in metal conduit , but , i dont think that is where the problem lies... the noise is only present after i enable the amp modules , just turning the amplifier on does not induce any noise...
yep have several scopes here....
Dan
-
QUOTE (Neville D @ Aug 6 2008, 04:11 PM)
Have you tried tieing all other unused channels to ground?Using shielded cables ?
Do you get the noise on all the channels?
Try plugging the amp into a different power line? There are devices that can isolate the power line for a couple of plugs (around $300 or so).
Maybe "measure" the noise on a AI channel and then subtract out the channel in software.
Noise issues are always difficult to fix and usually isolation is the only thing that always works.
I think there are some NI DAQ cards that have channel isolation built into them (for a future upgrade)..
Neville.
Neville
Yep noise on all channels , but , i will ground all the others anyhow , using shielded cables , no chance of rewiring the amplifier as it is 480V 3 Phase... i had thoght about measuring the nosie and subtracting as you mention , i will have to look into that idea a little more... usually i have pretty good luck fixing noise issues , but , this one is not playing nice...
Thanks
Dan
-
QUOTE (Neville D @ Aug 6 2008, 03:25 PM)
Neville
"Hopefully you are using a differential AI channel referenced to ground? " ..... Yep....
I currently have 6 channels to monitor , but , in the near future it could be as many as 20 , at the current time I doubt i can purchase any more equipment , it seems that gas prices have had some financial impact on our business (auto industry) , imagine that ..... so for the time being i will have to use what we have already...
Dan
-
I have to run some tests on our vibration setup that require some basic data acquisition , however , once I turn the amplifier on (not even shaking) I get about 50mv of noise on my signal. normally this wouldnt be an issue for us since we are just looking for a DUT to open , but , in this case it is an issue. I have bonded all the equipment grounds together along with the vibration controller , amplifier , shaker and thermal chamber , used shielded cables , lots of averaging of the acquired signals , using differential inputs , but , nothing I do seems to make much difference. I have also tried doing a little digital filtering without much success , but , I am just starting to look into that.
How are other people doing this stuff ??
Any help would be appreciated...
Thanks
Dan
p.s. the DAQ card is a PCI-6071
-
We have an issue here where I dont have all the info but am hoping that maybe someone has some idea what might be going on , we have an ActiveX control that is written by a third party vendor who doesnt know LabVIEW. This driver uses mouse calls to talk to 24 USB devices , the issue is that when it is used in VB or VBA in Excel it works fine and is very fast , but , in LV it works but takes very long to return , longer than 300ms per USB device , so as you add more devices it gets slower and slower and slower.... We put the VI into the DAQ thread and it made no difference , if you put it in the User Interface thread it runs very fast , but , it doesnt always return the proper values..... any ideas ?? the vendor is not being cooperative :-( the developer has spent over two months on the LabVIEW program so changing languages is not an option....
Thanks
Dan
p.s. sorry for the limited info , but , it is about all i have to go on at the moment...
-
QUOTE (Gavin Burnell @ May 14 2008, 04:26 PM)
But forgot to tell us the answerWhich is yes you can, but it takes a little bit of work to get the right vi reference to insert...
Download File:post-3951-1210796693.zip
Oh yes, and I should have closed that vi-reference....
Well what i did was within the DD vi i wanted displayed in the sub panel is this...
-
can a DD vi be inserted into a sub panel ???
thanks
Dan
Well , never mind I answered my own question ..... as usual i figure it out AFTER i send off a request ....
Dan
-
Does anyone have a simple example of implementing By Ref using a LV2 Global ?
thanks
Dan
-
QUOTE(ASTDan @ Dec 29 2007, 09:38 AM)
here is one source , remember keep repeating to yourself GOOGLE IS MY FRIEND ;-)
Have Fun
Dan
-
QUOTE(ASTDan @ Dec 28 2007, 03:01 PM)
Hello,This hopefully will be a simple question.
I am working on some code and to my supprise it has a degree symbol (little circle above numbers). I didn't know LabVIEW had this capibility. I have been trying to figure this out for years. How do you insert a degree symbol into a string?
Thanks
Happy Holidays!
Dan
well on windows you can hold down the ALT key then using the keypad enter the ascii code for the character you want , if remember correctly the degree is ALT-167 ....
Dan
-
QUOTE(water @ Dec 23 2007, 11:39 PM)
Hi Dan,I use the system as below,
1. PSEL Controller: PSEL-C-2-56PI-NP-20PI-NP-2-0
2. Actuator: RCP2-SS8C-I-56P-5-100-P1-M-B
3. Actuator: RCP22-RA2C-1-20P-1-25-P1-S
I tried to use your code, it cannot power on as the attached code, please sugget me.
Thank you very much for your help.
well first off make sure he serial port is configured properly... make sure you can connect using their PC interface software , i have only used it with the RCP2 controller , but , usually the problem is a comm problem or the Unit Number is set wrong...
Dan
-
QUOTE(Tomi Maila @ Dec 18 2007, 12:16 PM)
In LabVIEW 8.5 there is something called Native 3D Graph under the folderLabVIEW 8.5\Native 3D Graph
Anyone has any experience with this package? Is this something supported or something forthcoming that was accidentally included into the build? Seems interesting though, especially the 3D XControl. Though I'd like to be able to draw multiple surfaces and set suface properties such as transparency for each surface separately.
Tomi
Hmmmm..... Dont seem to have that one here , maybe it was installed with a toolkit ????
Dan
Error 302208 in Built App
in Application Builder, Installers and code distribution
Posted
QUOTE (MikaelH @ Mar 5 2009, 04:32 PM)
Mikael
I will have to check and see that everything is getting copied , I should have mentioned that I am using LV 8.6.1. I am not explicitly calling any external DLL's or .NET stuff. In the past I have never had any issues with Classes and building the project into a stand alone app. But , since the customer is coming in to see this next week Murphy struck :-(
Dan