(1) Would like to pause syringe pump at certain volume while still collecting diameter data, (2) Would like to delay chart and numerical indicator output until after syringe pump is run
Hello:
I am using Labview to control a New Era Pump Systems automatic syringe pump and to record diameter measurements from a LaserMike optical comparator. My program is fully functional, the code is attached with all auxilliary files in the NE-50X folder. I mostly understand my program, I used drivers for the NE-50X pump found on the NI website to build my code and added to it as needed. My program currently does the following:
After I push the white Run button, I am prompted for a file name. After I enter one, Labview begins collecting data from the LaserMike and syringe pump and outputs them to their respective numerical indicators and waveform charts. Then I can change the syringe pump flow rate and syringe diameter on the front panel. Once I push the green RUN button on the front panel, the syringe pump runs, and the balloon diameter vs. syringe volume XY graph begins to record. I can then reverse the direction of the pump and/or pause the pump however many times I like, while Labview still records diameter from the LaserMike. Pushing the red STOP button on the front panel terminates the program and stops the pump.
Here are three things I would like to change about my program that I don't know how/what to do:
1) I would like the LaserMike and syringe pump to output to their respective numerical indicators and charts only AFTER the green RUN button on the front panel has been pushed and the pump is running.
2) I would like to be able to pause the syringe pump at two specific volumes while Labview continues to collect data from the LaserMike. I do not mind if I would have to push RUN to manually restart the program. I just want the pump to stall for a few seconds once the syringe pump dispenses a certain volume without the program terminating.
3) I would like the program to terminate once a certain volume has been dispensed. I would also like the syringe pump to return to zero, its starting position, after each test so that each test is identical.
If anyone has ideas about how to do any of these three things, your help is greatly appreciated.
Attachments:
Balloon Diameter.vi 132 KB
NE-50X.llb 994 KB
1. You can set a boolean value when the Run button is pressed and use that boolean value to determine whether or not your indicator is updated.
2. You check the value of your syringe volume every loop iteration and pause the pump if a certain value is reached. You can have the program wait for the user to press a button to restart. You can also have it pause for a period of time and continue automatically.
3. Just like #2, you can wait for a certain value and stop the overall loop once that value has been reached.
Your program is an excellent candidate for event handling. I have attached a link to a tutorial.
Brian R.
District Sales Manager
Washington DC
National Instruments
Similar Messages
-
Making music videos, QuickTime Pro likes to pause for a second.
I'm making music videos, and some times at the start of the video, or where I add other video to the .mov file, the video likes to pause for 1/4th to a second, then the video like jerks forward to where it should be, while the audio is playing the way it should.
Is there any way to keep this from occuring?
Example (3 megs.)Your data rate for the video is 4.5 times of what it should be (9240 kbits/s). Try using 2000 kbits/s for the video data rate.
Here are some other factors that can make the video sluggest along with the above:
1) The dimensions of the video is 849x406. The height and width of the video should be divisible by, 16 for best... or 8 for better... or 4 for good. This can effect the encoding (always does) or playback of the video.
Here read this article: http://www.adobe.com/devnet/flash/apps/flvbitrate_calculator/videosizes.html
Even tho the above article is for Flash it also applies to h.264.
2) The audio is mp3, this isn't h.264 complient. AAC audio is... I would change the audio encoding to AAC.
3) And lastly...what program did you use to encode this video with?
I'm glade you supplied a short video. Most people don't. See if next time you can supply at least ten seconds. Thirty second would be the bomb!
I took your video and copy/pasted it to lengthen it to 13 seconds. Encoded with Apple's Compressor...h.264....2000 kbits/s...audio ACC 128 kbits/s... dimensions 848x400
http://www.setfreedenver.org/DemoA/pause_demoA.html
There still is some jerkiness. This is inherent from the footage you supplied. -
I have a Canon Vixia HV30 and would like to know if I can transfer video from it to a new MacBook Pro? The camcorder has a HDV/DV output. Is that compatible with firewire?
Hi Codye24
I don't know if you saw this thread
Connecting a Canon HV30 camcorder vai a thunderbolt port to a new imac
Hope that this helps
Kevin -
I just got iTunes Match and would like to know if downloading my songs from the cloud uses cellular data if I am not able to use wifi?
Hi,
Yes, it will use cellular data. If you know that you are going to out of wifi range, you can predownload some music whilst you have a wifi connection.
Jim -
Before I updated my iPod I had all of the songs to an album that I bought on iTunes. After I updated my iPod I only have 5 of those songs from the album. I would like to know how I can get the rest of the songs cause I already paid for the album and I went on my computer and it said that I have to pay for them even though I already paid for the whole album. So what do I do?
Sync with the same computer iTunes that you normally sync with.
-
My HP Elitebook 8530w is toast, but the hard drive is fine. To save my data, I would like to learn
all the HP models which can accept this same drive, so I can start hunting for a suitable used one. It probably won't be the elitebook, that laptop seems kinda rare. So I'm hoping that other models will accept the same drive. The hard drive model has a really long number - Hitachi HTS723216L9A360. Does anyone know which hp models are compatible with this hard drive? Thanks.Notebook hard drives are pretty much the same in recent years, yours is SATA interface, much older notebooks used IDE-PATA and are not interchangeable.
Installing it in a different notbook that has different hardware may not work so good, most of the time windows will not load properly or at all, you can buy a usb to hard drive adapter and connect it to the hard drive after you remove it, then connect the drive using the adapter to any other PC with a usb port, then you will be able to see you data on that hard drive using Windows explorer
http://www.newegg.com/Product/Product.aspx?Item=N82E16812119152 -
I would like to use my iMac 7,1 as a monitor for my Mac mini 2012. Is that possible and if yes, what type of cable connection do I need? Thank you.
No. Your iMac only has DVI video connection. You would need an iMac with Thunderbolt.
-
I would like to use GarageBand to remaster downloaded music files that are in iTunes. Poorly mastered files keep clipping and damaging my speakers. When I try to use an iTunes file as a new project, it greys out the iTunes songs so I can't select them. Any ideas?
As I said - look whether your original file is damaged or not. If not, I wouldn't change it and find out what in your system makes it sound like it's clipping.
Good sound file, with volume maxed out. No need to change anything.
The same song clipped - no chance to repair. -
So I downloaded acrobat XI Standard from the Adobe website, when I go to install it, it says "Adobe XI Pro" at the top left corner. Can anyone shed some light on this for me? I have a volume license for XI Std. so I would like to use the Std. version.
login and download your software from the adobe volume licensing website, Customer resources | Adobe Buying Programs
-
Suddenly I've started getting the error "The files are on a volume that does not support Trash. Would you like to permanently delete the item?.
iMAC OSX 10.9.4.
LR 5.6,
Camara Raw 8.6
Any idea?
Please Help Me...
Thanks in advance
JoseThis is how I solved it, thanks to combined information posted on forums:
1. Got a new external hard drive formatted for Mac (I was using read-only Windows from my PC)
2. Created a folder in new external drive >imported to LR->send to trash- empty trash
3. The above was still not working until I noticed one day magically the missing picture icon started to show up in LR
4. I went to the "set as rejected"pictures> locate missing pic (and nearby ones)
5. Selected the pics -photo>remove> delete from disk
Done!!!
Thanks to the hours spent on searching different threads, and to the relentless users because LR never provided any kind of support or formal response to solve this by just letting users to getting lost in frustration . -
I have an iPod Classic. I think it is a 5th generation. I would like to know if I can download games from the App store that say they are for iPads, iPhones, and iPod Touch. Will these work on my iPod Classic?
No, they won't.
(58155) -
I would like to restore my Iphone from itunes will I lose my app data????
I would like to restore my Iphone from itunes will I lose my app data for example I have Itimesheet and lockpro with all data and passwords and work hours saved if I restore does all that come back as well, emails text messages contacts songs videos etc.
The question is what does restore actually restore????? from back up????
Thanks lease help
worgeyour apps will defo be there. email settings im not too sure because i dont use it sorry but it should back it all up
-
Hi,
I would like to ask you a question.
a month ago I bought a battery case for iPhone 5 and it worked properly until I installed iOS 7. From that day my iphone is operating normally, BUT when the battery is empty, unfortunately I can not charge additionally my iphone with the "extra battery case".
Does that mean that you did not even create a new software that supports additional battery case or it is something else?
I need your help!!,
Thank you in advance.
Sincerely,
VKThe Mophie Air is a good battery case, but doesn't offer the protection she's looking for. I suggest sticking to the Lifeproof, the iPhone has a very good battery (2-3 days moderate usage for me).
To your 2nd to last paragraph, that is false. Verizon is allowing exisiting customers to keep Unlimited Data - but will lose it once they use a subsidized upgrade. So if you buy a 4S (or LTE device for example) outright, you will keep unlimited data. Mobile hotspot may use up a bit of data, but it is a separate add-on/feature. The new Family Share plans may change that, so it's one giant center of data all devices use. -
I am trying to update my ipod touch 4 and I am getting a message that says "An error occurred while backing up this ipod - (5000) would you like to continue to update this ipod? Continuing to update will lose everything on this ipod." How can I fix?
It's likely that your backup is corrupt. Try deleting the backup, then right click on the name of the phone in iTunes and choose "back up". To delete go to iTunes Preferences, Devices tab. Highlight and delete the most recent backup. Note that sometimes deleting this way leaves some garbage around that can still interfere with a new backup, so you should verify that the backup folder is empty.
from: http://support.apple.com/kb/HT4946
The folder where your backup data are stored varies depending on the computer's operating system. Make sure the backup folder is included in your periodic data-backup routine.
iTunes places the backup files in the following places:
Mac: ~/Library/Application Support/MobileSync/Backup/
Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
Note: To quickly access the Application Data folder, click Start, and choose Run. Type %appdata% and click OK.
Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
Note: To quickly access the AppData folder, click Start. In the search bar, type %appdata% and press the Return key. -
In my email all the messages from one person bunch together and I would like to separate them. I have done this before on my iPhone but just recently got an iPad and its doing it on this, so does anyone have any ideas how to fix this issue?
Settings >> Mail, Contacts. Calendars >> Organise by Thread. Switch to OFF to see every individual email in the Inbox.
Maybe you are looking for
-
Hi all, Can please some one let me know the following 1.What account postings happen when a GR/IR Account maintanece program is run in MR11 When I run the program the following is happening at my cleint's place GR/IR Dr Inventory CR Is this the corre
-
In DB13, error occured after trigger Verify Database.
Dear All, The following is the job log of the Verify database, i am not sure why this error occured. I am using BRTOOLS 7.10 (12), SAP NetWeaver 2004s. Job started Step 001 started (program RSDBAJOB, variant &0000000000927, user ID BASISAD
-
Wireless Equipment for 1 or 2 Km.
Hi, I'm trying to connect two places for my customer, the distance is 1 or 2Km. What model of wireless equipment I can use for this link ?. We'll have, VoIP, Video and data. Do you have any recommendation ?. Thank you.
-
SUBMIT a report passing a selopt
Hi all gurus, I'm facing this strange issue: Report A, a.k.a. the caller, has a select-option as input parameter, defined in this way: SELECT-OPTIONS: so_objid FOR crmd_orderadm_h-object_id. This report performs a sequence of SUBMIT statements on oth
-
Mac Terminal: computer name replaced with "virus"
Hi, I'm having an issue where, in my Mac terminal, the space where the computer name is shown is instead replaced with the word "virus". virus:~<username>$ Additionally, my internet connection either works terribly or not at all, and this only seems