Digital time line controlled PXI-6251
Hello
I need to create a Boolean control moment.
For example, a digital line is set to False. I would like to change to true status for a certain period of time (e.g., 150ms).
Is this possible with PXI-6251?
Thank you
Hello
Yes you can. Set a task in the buffer output as e.g. "digital - end Output.vi.
You can use an external clock, it generates throught counter output or use ananog/output sample clock.
Tags: NI Hardware
Similar Questions
-
The main time line control Movieclip symbol.
I am new to AS3. So what I did, is to create 3 buttons on the main timeline, each button will be goto a framelabel/keyframe. Presents all works, however in this picture-key, I have a symbol with a FLV video integrated in it. I want to push a button on the main timeline, goto that keyframe and the film plays. So far it works, the problem is I want to stop the movie when I slect a different button. If I select a different button, the film continues to play and if I hit this same but go back t the film, then the film begins to play and I have 2 bodies playing at the same time. I tried to get here, but I can't seem to find anything like what I'm doing.
So here is the main scenario, I have 3 buttons on the layer of the menu and the content of separte on each of the 3 images to label points.
As you can see I have a video flv embedded in a symbol (type Movie Clip), so when I select button 2 he goes and plays the movie, but when I select key 1 or 3 to change the setting up, the film continues to play in the background, (I can hear the audio), was hoping someone can tell me how to add code to stop this When I select another button below is my code that I have now,
Here you can see that the video is embedded in the movieclip. I do this because I want to have only 1 file, I don't want an external file. I am trying to create a mobile app, so I want only 1 file.
Any help is greatly appreciated.
use:
Stop();
var point: point;
btn_page1.addEventListener (MouseEvent.CLICK, onPage1);
btn_page2.addEventListener (MouseEvent.CLICK, onPage2);
btn_page3.addEventListener (MouseEvent.CLICK, onPage3);function onPage1(event:MouseEvent):void
{removedotF();
gotoAndStop ("page1");
}
function onPage2(event:MouseEvent):void
{
gotoAndStop ("page2");
dot = new Dot;addChild (dot);
dot.x = 10;
dot.y = 10;
}function removedotF (): void {}
{if (dot)}
dot. Stop();
removeChild (dot);
dot = null
}
}
function onPage3(event:MouseEvent):void
{removedotF();
gotoAndStop ("page3");
}p.s. Please check the useful/correct.
-
PXI-6251 vs pxi-6221 - tall order?
I write code LabVIEW and TestStand to a certain number of test devices. Some of the devices have PXI-6251 daq cards, and some have maps daq, PXI-6221. These cards have very similar characteristics, and the stitching of the connections of e/s is nearly identical. They * are * identical with respect to the signals that I care.
So the system has a NI PXI-6221 data acquisition. System B has a daq, PXI-6251. I have 10 k potentiometers wiper connected to AI2 on maps, while the ends of the pots are connected to the + 5v and ground. Very simple analog test input.
Right click on the chart-> measure of e / s-> NI - DAQmx-> DAQ help. Place the DAQ help on the diagram. Configure for analog input voltage, ai2,-1v to + 6v.
I run a bunch of samples, and the daq cards read tensions. I can see them change as I adjust the pot. Works very well.
The problem is that a such VI built on system don't work on system B, and vice versa. When the express VI creates, he knows the current material and makes the appropriate adjustments.
Is it possible to write screws that can be portable between systems A and B? Is it possible in 'building block' these express screws?
Thanks for your suggestions.
-Mark
Hi Mark,
The same express VI should work as long as devices have the same name able and Automation Explorer. The 6251 has some features not supported by the 6221 (analog trigger, faster sampling rate), but as long as you don't use these should not be a problem.
That said, you can switch to the lower level API of DAQmx to give control of frontage on the device that you select this option to run your task.
Some examples of use of the DAQmx API:
Analog acquisition continues with a Timing Software
Analog acquisition continues with internal clock
To sum up, one of the two approaches should work:
- Rename the measurement and Automation Explorer unit so that it is always the same (for example ' Dev1'). You should be able to use the DAQ Assistant even this way.
- Use the DAQmx API rather than the DAQ Assistant. The user would then select the channel in a drop down menu on the front panel.
The option can be done programmatically as well:
- You can rename the features of programming using the API of System Configuration with DAQmx 9.2 or later.
- You can use a node of system DAQmx property to query the devices that are present in the system and the information on these devices (see example). You will use this device name to programmatically build your channel name (e.g. 'Dev1' + ' / ai0 ' = "Dev1/ai0").
It is probably easier to use the DAQmx API rather than the DAQ Assistant for your case (except if you're OK with manually rename MAX devices or enter the DAQ Assistant each time to reconfigure your specific device name). If you want the user to select the device in a drop-down menu, then you can probably just use a direct navigation example. If you want to programmatically generate the name of the channel, then you can use the node property system DAQmx to see what is called the unit and go from there.
Best regards
-
How to change default doorway for counters on PXI-6251
Now digital channel as a door to the counter. I want to measure the width of pulse on more than 2 channels. For example, the default value of those who are PFI4 and 9. I would like to have more door entries.
Can I do it?
Thank you
Hi Rus_K,
The 6251 has only 2 counters so you can not measure more than two channels at once. However, you can sequentially measure the different channels on the two available counters. One of the PFI lines on your 6251 should be routed to the counters with a channel DAQmx property node:
Other APIs have similar properties that you can set to change the input terminal.
Best regards
-
6008 daq digital outputs to control relays
Hi all, I'm looking to help create a VI to send out digital to a daq 6008 to control relays. What I'm trying to do is when you press start and a condition is met send a digital output to control a relay for 30 seconds or so to take a measured voltage to be taken an analog voltage. After 30 seconds, I want the first relay to switch off and the next relay lights for the same amount of time. I want to continue this sequence to 7 readings, blood for every step and send the data to an excel file. I know it's basic stuff, but my experience with labview is limited! Any help would be greatly appreciated.
Thank you
Paul
Hi Paul,.
I looked on your problem this afternoon and I agree completely Fan Ravens that the state machine is in fact the most appropriate architecture for such a task of data acquisition. A state machine architecture is one of the most commonly used in LabVIEW design patterns and is especially suitable for any program where you have clearly defined the steps that can be represented by the States and rules for the transition between these States.
There is a model of Machine of State Standard contained in LabVIEW which should give you an idea of the underlying architecture and is a good starting point. To give you a better idea of how this architecture can be applied to a data acquisition task, I would recommend that you look at This example. Although States will be slightly different in your case, this should provide you with a good understanding of how you can architect such a request.
I hope this helps.
Best regards
Christian Hartshorne
Technical sales engineer
National Instruments UK
-
Preview only works if the time line is not visible
I'm having a problem with preview. My computer plays smoothly if the time line for this model is not visible. I have to hit play then click the Render what tab or close the window of time line all together. Why is this happening?
Assuming you are using El Capitan, Dave is right. It is a known problem. It is listed on this page and a few other places as well. You have found a workaround. Another workaround solution found by the mofxtv user (in this thread) is docked to another court under your control panel mounting.
Like this:
Some people use other panels that they use less often.
-
KeyPress AS2 to advance the time line
Hi, I use this action for specific keys to simply advance the time line-
on {(keyPress '< space >')
Play();
}
What happens if I want to use all the keys on the keyboard to control this action? Is the group selector to use? As "all the keyboard" "all keys"?
I got the AS3 - code
stage.addEventListener (KeyboardEvent.KEY_DOWN, fl_KeyboardDownHandler);
function fl_KeyboardDownHandler(event:KeyboardEvent):void {}
gotoAndPlay (currentFrame + 1);
}
But he wanted to AS2?
Hope someone can lead me in the right direction. Thank you
You can use...
var keyListener:Object = new Object();
Key.addListener (keyListener);
function keyDownF() {}
Play();}
keyListener.onKeyDown = keyDownF;
-
In a sequence of CTF, is it possible to obtain a text file of clips in sequences display (name and duration)? There is a display of text file for clips (cmd-9). Zoom the timeline makes this visible annotation for shorts, cancels but the ability to see the whole sequence of the time line. Of course, it would help my editing.
TIA
In Final Cut Pro 7, you can use editing > find command to search on used clips in the sequence. See if there is an equivalent command in FCE. Unfortunately, I can't determine that at first hand on my system. (In addition, if you are still interested whereas FCP X, there the so-called Timeline index which provides quick access to a list of markers, clips, effects, etc..)
Good luck.
Russ
-
iMovie expand/extend/stretch the time line
Hello
I am learning to use iMovie and want to magnify or to stretch the horizontal timeline so it's easier to see more time. Now, I don't want to change the duration of a clip - just the scale that the video may be brought against - the time line. Is this possible with iMovie?
David
Of course you can do it. Under the Viewer is a slider that allows you to extend the timeline. Also, click settings and you will see a slider to change the size of the clamp.
-
M40X: using digital telephone line with modem internal
the M40 X manual says use digital telephone line with the internal modem, in zimbabwe, all lines are digital until to now do for telephone line
[Edited by: admin August 10 05 21:19]
Hallo nasir
You are right. Connect the modem to a digital telephone line. As far as I know, the tension is much higher by digital line and it can damage the equipment.
In my opinion the best solution for you is an external digital modem.
Good bye
-
Control PXI via PyVisa devices?
Is it possible to control PXI peripheral via PyVisa in the same way as USB and GPIB devices?
Hi k-rhyme.
It should be possible to do so. You can definitely control devices with NI-VISA PXI and PyVISA is simply a Python wrapper, it should be possible. It also depends on the version of VISA that is using PyVISA. I recommend you look at the manual of user NI-VISA for more information PXI of specific functions.
With the help of the Assistant of the Driver NI-VISA and NI-VISA to develop a PXI (e) /PCI (e) driver in Windows
http://www.NI.com/Tutorial/4713/en/
NI-VISA user manual
-
Time Stamp control day increment
Hello
I want to use a date/time stamp control with only the visible date and the incrementer for days instead of seconds.
I know how to 'hide' the hour for time display however the rest of the increment in a few seconds.
Someone if there is a place to change the amount of a framework?
Thank you
Richard
In the data entry tab, you can mention the increment as ' 24 * 60 * 60 = 86400.
-
No video just audio when you place them on my time line
I've been editing with adobe pro CC for awhile first and only today, after upgrading my CC from 9.0 to 10 I had a problem where I have the audio when you put video clips on my time line. For some reason any its not bringing don't not the full file in. I played video clips on another program and they work and its fine and when you drag them in the first pro library, they have the preview and I am able to do scroll the video ok it's just when you place on the time line its not bringing don't not the video with her.
In looking at some of the clips in the project Panel, they are not showing the icon that indicates there is an audio file on the clip.
On this line at the top of the page, the miniature of a clip from gopro, central element has no icon in the lower right corner. This is just the video as much as PrPro can see.
The good article, the tile with two icons below on the right... these icons are first that it is used on a sequence (hovering above him and he'll even tell you how much time it is used) and the second icon, it's that it has linked audio.
So... is not audio clips, or the way in which it has been imported to the PrPro is not 'see' the audio file linked... or the database/cache is screwed upward. I think that these are the three main options.
So... using MediaInfo to "see what is inside your media" or play them elsewhere, did sound?
If so, how do import you them into PrPro?
Can you make a new project, import the clips and have his "appear" with the clip?
Neil
-
Hello. I do not seem to have 'create frames from layers' option of time line.
Hi, where can I find the framework for the creation of the layer option in the time line?
First, you will need to click on the big button in the middle of the timeline, so that Photoshop knows that you want the animation to image.
-
How to move audio files of the program in the time line?
All of a sudden I can't move audio files of the program in the time line - I read that Adobe said in previous forums click with the right button on the A1, but nothing in this discussion has helped me solve this problem. It was working before. I am a beginner user, so I could be missing something really obvious. My time scale is in blue. I noticed in some tutorial videos that it was yellow.
Hi lauranoel,
The reason is due to a bug, explained here: FAQ: why no audio or video will not at the track where I drop?
Next time, just remove and In or Out to mark, and then drag the clip.
Thank you
Kevin
Maybe you are looking for
-
How to start a community Homekit (home app)?
Homekit needs love. How to start a community of support for her?
-
fix variable (first emulator)
I have an equation that I entered the first emulator and want to solve for a variable. I am able to work when I put in values for each variable and leave a vacuum. It solves for the fine missing variable in this case. I want to do is solve the equati
-
Fixed cost of a South Africa Skype call to a line UK
I'm trying to find out how much it costs to make a South Africa Skype call to a landline in the UK number. I'm curious on behalf of someone who lives in the South Africa
-
Whenever I open the internet now, I get the pop up of the site (s04.cltdra.com) that keeps then open new windows. I've updated my system security, but without success.
-
Laptop will not play one particular CD
Running Windows 7 64 bit My laptop, for some reason, a particular music CD will not play. This CD will play successfully on another device, and other music CDs will play successfully on my laptop. The CD is a known Editor (Motette) and others of th