Model SolidWorks coupling question in 3D Picture control
Hello
I followed example LQR and linear inverted pendulum... .or we can import Solidworks model in Labview and have our own control...
SCARA, I did and I am able to access each part... but I have still a few mating issues with individual part...
Please take a look at VI I joined and see how Arm1, Arm2 and ZArm doesnot follow Parent child relationship.
As I looked andgot help from the forums... I will get it this time too...
Thanks in advance...
For another benefit, this issue has been resolved on another site.
Tags: NI Software
Similar Questions
-
Search for alternative without GSO to 3D Picture Control
Hello!
By default, the 3D picture control is broken/non functional on Dell laptops that my company to buy things. All these notebooks have Intel HD Graphics chipsets. Disabling the device driver Intel (in Device Manager) corrects the image 3D control. These laptops now needs to use a device that only requires an Open GL or Direct X - available if the Intel HD Graphics driver is enabled.
My understanding is that the 3D picture control is based on "Open scene Graphics.
All 3D rendering controls are based on the same version of OSG?
What happens under LabVIEW 2011.
If anyone knows if this has been fixed, great!
I'll probably try install LV2014 and compile an EXE test just to verify this.
See you soon!
I have a Latitude E6520 with Intel HD Graphics (active) and I am able to run the sample shipping model of Solar System.VI 3D without any problem. I can manipulate the camera, etc.
Win 7-64, LV 2013
-
LabVIEW picture control - many updates - memory problem
Hello
I have little experience with LabVIEW and am currently using a picture control in one of my applications.
The idea is that some areas (rectangles) inside the image control that is updated all the time with different colors. (according to a parameters measured)
I have a large loop that takes a shift register that contains the image control.
I noticed that the operations of different 'draw the Rectangle' I am the scene are piling up so the memory continues to increase...
I did a small sample program that demonstrates this behavior.
I want to update the image all the time in simple control. How can I ensure that memory does not get stored? Are there functions with which I can replace a portion of the image control with a new pixel values rather than simply add these new values each time for the image control?
Thank you in advance for your help!
Hi k_tunsten,
Just remove the register shift. The result is the same, but the performance is much better and will not increase the memory.
OK this isn't really the same thing, but the indicator buffer puts the old image, so that it looks the same.
It will be useful.
Mike
-
Programmatically paste an image from the Clipboard into the LabVIEW picture control
Does anyone know how to paste the image residing in the Windows Clipboard in a LabVIEW picture control programmatically?
There is a method of the Application class that gets the image to the Clipboard. He was deprived in previous versions, but it has been made public in 2012, so I guess that this also works very well in older versions. At least in never gave me problems with my limited experience with it:
-
I want to create a simulation of 3D on the front panel, and I see that we can use a 3D image control or a display of Simulator control. It seems that each of them can be used at the same position. What is the most important difference between 3D Picture control and display of Simulator?
Hi sfh1,
You are right, I found examples of Robotics that use 3D photo control and display Simulator control to display a scene 3D on the front panel. After further research, it seems that control the display of Simulator adds additional features compared to the 3D picture control. The control displays Simulator allows the user to right-click control during execution and change the background color, draw fashion, draw contact, view the ID of robot, display sensor data, suspension of service Simulator and reset service Simulator.
More in depth on these options and the display of control Simulator can be found here:
http://zone.NI.com/reference/en-XX/help/372983D-01/lvrobogsm/robo_controls_concepts/
If you would like more information on the picture here 3D control is another resource:
http://www.NI.com/white-paper/3170/en/#toc2
Kind regards
-
Question tab User Interface control
Heey everybody,
I have disigned a program and user interface, on this user interface, there is a tab (see attachment) control in this tab control, you can select several measures. It is a school project and according to my professor is not clear enough what measure is selected.
My question: is there a way to give the active tab a different color? If you know a way to create a nice user interface that has the same capabilities as the control tab (select measure and wire in measured values).
Thank you
Hi Grasman,
It is possible to give different tabs of different colors, first of all, you must enable several colors - "just right-click on a tab on the control. "Select Advanced" allow multiple colors.
To change only the color of the active tab, please see Steve birds VI, you can find it on the following forum post
Kind regards
Tobias
-
Question regarding oracle 12 control cloud and gridcontrol 10g c
We have fully integrated control of 10g of grid years ago and it is entirely used, all databases are on the list of targets and added.
now, somehow there is a half year management hired a firm to control cloud 12 c being implemented on another primary/secondary environment.
Before pushing the agent more and discover the target, I have several questions, I wonder, guru here hopefully can help me.
(1) what I have to disable the 10 g grid control and remove these agents on the hosts of each database?
(2) this time the primary cloud 12 c control is broken, but ensures connection is running. Website can be opened on the backup site. How can I open the primary up? where / what newspapers I can check? Anyone got the docs for it?
(3) the good docs/comments are much appreciated.
Thanks in advance.
Hello
Looks like the WHO's pointing to SID 'oemdr '. I guess the "oemdr" is your storage space waiting.
Pointing to the OMR wait WHO is the standbyOMS.
Now Agent URL watch agent is installed on the host "oem1. I guess "oem1" is your standbyOMS server and the agent is pointing to standbyOMS.
You can get more details in the OMS using the command below
$ cd
/bin/ $. / emctl status who-details
I hope this helps.
Kind regards
Experimentations
-
strange question use stop() to control a scenario after loadClip
Hello, I have this strange question:
I want to control the scenario of a swf file loaded with loadClip command.
I wrote this code
var loader: MovieClipLoader = new MovieClipLoader();
loader.addListener (this);
function onLoadComplete(_mc:MovieClip) {}
_mc. Play()
};
loader.loadClip (swfname, _root.holder)
function pause() {}
_root.holder.stop)
}
function pause a button is used to stop playback of the loaded movieclip.
strange thing is that stop() works when you test the movie by the flash application and plays from the projector. It DOES NOT WORK when he runs by embed code html in swf or swf directly.
I checked a lot of time and the name of the 'container' is resolved, but the command does not work for his screenplay.
thanx for help
Daniele
you wouldn't expect this stop() never work. Once the loading starts, stop() no longer applies to the target of a loadClip (or loadMovie) method.
to resolve, use the stop() on the first frame of the loaded swf file editing.
-
Open a disk image and trimming for a picture control
Hi people,
I try to let my users (in a browser) to select/open a disk file (image type) so that they can see and then save it to the server. I can use the FileReference object very well and load its 'result' directly in a MX:Image control. However, before I do that I want to crop the selected image square. I also want to resize the image down, but that will come later, once I get the job of cropping.
I'm essentially taking the FileReference result bytearray and conversion to a BitmapData object. Then I 'extract' a place of this BitmapData object data in a new BitmapData object. Then I need to get * that * BitmapData object in the mx:image control. I tried to use a Bitmap of the to do, but the mx:image that results, while the 'companies' displays correctly, as a white Virgin region. Throughout, the variables seem to be "complete" data and seem to have developed properly. I looked at a few sites that show images cropping and copies, but they always start with images 'preload '. I modeled my code after them, if necessary.
Here is my code:
This is called when the user clicks a button to "search for a file on disk.
private function setPhoto (): void
{
create the instance of FileReference
_fileRef = new FileReference();
_fileRef.addEventListener (Event.SELECT, onFileSelected);
Look for the file has been opened
_fileRef.addEventListener (Event.COMPLETE, onFileLoaded);
var arr:Array = [];
arr.push (new FileFilter ("Images", ".gif"; *.JPEG; *.jpg, *.png");
_fileRef.browse (arr); Then let go and leave the event managers treat the result...}
private void onFileSelected(evt:Event):void
{
_fileRef.load (); the result of the "load" will be managed by the Manager of 'complete '.
}
private void onFileLoaded(evt:Event):void
{
var tempLoader:Loader = new Loader();
tempLoader.loadBytes (_fileRef.data);
tempLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, onLoaderComplete);
imgPhoto.source = _fileRef.data; This would work fine, however, it would not be cropped
}
private void onLoaderComplete(event:Event):void
{
var loaderInfo:LoaderInfo = LoaderInfo (event.target);
var loadBD:BitmapData = new BitmapData (loaderInfo.width, loaderInfo.height);
OK, now that we have the 'original' file into the bitmap data, we can crop and then resize it later
so, we need a "place" of the image cropped from the original
so... First, we get a square of the image of "size".
If the image is larger than the scale, we will take a place as large as the image and as high as it is wide, from 5% down from the top
If the image is larger that high, we will take a square as large as the image and as wide as it is high, horizontal Middle
var curW:int = loadBD.width;
var curH:int = loadBD.height;
var cropX:int = 0;
var cropY:int = 0;
var cropW:int = curW;
var cropH:int = Uchr;
var needCrop:Boolean = true; default is to crop
var croppedBD:BitmapData;
If (Uchr > curW)
{
cropY = Math.round (Uchr *. 05); departure at 5% down
cropH = cropW;
}
ElseIf (curW > Uchr)
{
cropX = Math.round (curW/2) - Math.round (Uchr/2); start in the Middle, 'back' by half the height
cropW = cropH;
}
on the other
{
needCrop = false; It's already a square! nothing to do (except for resizing)
}
If (needCrop)
{
croppedBD = new BitmapData (cropW, cropH); at this point, it is 'empty', then the full
var fillPoint:Point = new Point (0,0); given that we will fill in the upper, left pixel and rollover
var fillRect:Rectangle = new Rectangle (cropY, cropW, cropX, cropH);
croppedBD.copyPixels (loadBD, fillRect, fillPoint);
}
on the other
{
croppedBD = loadBD;
}
imgPhoto.source = new Bitmap (croppedBD); The result is an appropriate size, but the image in white-white
}And here is the mxml for the image:
< mx:Image id = "imgPhoto" x = "40" y = "126" maxWidth = "200" maxHeight = "200" / >
Thank you!
-David
Hello
You've been around the solution.
In "onLoaderComplete(event:Event):void", at the beginning, you create a BitmapData called 'loadBD', you forgot just to fill it with the content of the loaderInfo.
private void onLoaderComplete(event:Event):void {}
var loaderInfo:LoaderInfo = LoaderInfo (event.target);
var loadBD:BitmapData = new BitmapData (loaderInfo.width, loaderInfo.height);
loadBD.draw (loaderInfo.content);
......
Kind regards
Mich
-
Question about the picture of the screen on the Satellite M100-165
Hello.
I have Toshiba M100-165 and I do not know is my bad screen. ?
I noticed that when I look on the screen and when a color is exposed and look more closely (for example gray) I don't see a color but I see only pixel everyone is on the same color. I see a little shade of that color on the screen. I think that this is not a problem of bad pixel or subpixel.
Imagine that my screen is a sand. And when I put for example a flat color on my screen, I can see that not all pixels are in the same color. Some of them are a bit more clear and other slightly more dark. It is a very small difference, but I see this difference. And I don't know what is normal thing or my matrix display is damaged in some way. ?Thank you for everything.
B.
Hello
Is perhaps a possible for your problem.
Go to the control system and the display used. Until the click Properties and check the display properties. Go to advanced and check the properties.
Check the color management.
Go visit the Toshiba download of an update of your drivers.
http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp?service=EUBy
-
Question about infrared remote control on the Qosmio F30
Help me I am new to this, so sorry if I mess up a bit, I am trying to sort, infrared sensor IF my Qosmio F30, I try to use my media remote
so if anyone can help thank you
IanHi mate,
where´s so the problem? Just put new batteries in your machine and begin to control your computer with the remote control. Your portable computer with an infrared port that communicates with the remote and usually such device is automatically recognized by windows.
May I ask what operating system do you use? XP or Vista?
Welcome them
-
Satellite A300/Y01 - Question on the remote control
There is a remote that comes with the A300/Y01 (http://asia.cnet.com/cnet/i/r/2008/nb/43187224/sc004.jpg).
I want to know if I have a USB infrared for my A300/U01 Sat.And buy a Toshiba remote that's going to work?
And where can I buy this remote control Toshiba?
Hello
To be honest I don't think you can buy it separately. As much I know this remote control is not available as a separate option.
-
IMAQ (deletion by default) picture control
I have a problem with the image imaq vision control.
I set a default image for the development for a "imaq image control".
Now the default image is no longer needed and I want to remove the default reset of the control to a blank image.
How can I reset the default value of 'control imaq image' to an empty image?
I have about 20 Vi with controls with default images imaq image!
It must be possible to empty the image with a click of the mouse.
As an empty array-> table
I don't really want this progmaticaly!
-
PDF in labview front, various questions concerning the uncluttered control
Hello
I created a front panel ActiveX control that allows me to open a document and jump between the adjancent pages among other things, but I was wondering if the following is possible:
(1) to access a given page
(2) to close the document and return the VI of the State, it was before I opened the PDF file, i.e. If nothing is posted that is the white background. I tried to load anything ("'"), but this does not seem to do anything.
(3) to prevent the scroll of the user (I've removed the scroll bars, but it is possible to scroll with the mouse)
(4) to prevent the user to right click to bring up the menu of adobe.
I presume that it is not possible to do the above that it is not all methods that seem to allow this?
I guess 3 + 4 could be solved by placing a transparent object on top?
Thank you
Andy
Hi Andy,.
1), you can use the method "SetCurrentPage.
Mike
-
Question about the parental control in the modem x 3500
Hello
How can control the time of the evening evening from time to time
Example of
The time from 16:00 to 20:00COMPO box the night of time, there is no option for the evening of time
Please help me
Hello
How can control the time of the evening evening from time to time
Example of
The time from 16:00 to 20:00Correction
The end of timeCOMPO box at the end of the time there is no option for the evening of time
Please help me
Maybe you are looking for
-
The equivalent of "Favorites" in Internet Explorer contains bookmarks?
Where are my registered sites registered? Also, am I able to 'share' the file on my local network? I have a desktop PC and a laptop connected to my network. I want to do is make sure I have save (or favorite?) a site on the laptop or desktop, it is a
-
dv2620us: Nvidia GeForce 7150 m/nForce630m is not compatible with Windows 10
I know I had this discussion before, but I was hoping someone might have an update or new discovery. Upgrade Windows 10 stipulates that this computer is not compatible because of the Nvidia display. I checked to see if HP had an update for this drive
-
Qosmio F20 - how to restore factory settings?
* Hi guys *. Im having problems restoring my Qosmio F20 - 137 back to factory settings.Steps what I need to download to be able to do or an easy way to get my phone in original configuration * Thank you *. * greg *.
-
I can connect to windows live hotmail, but I can't open the emails.
"I can connect to windows live hotmail but I can't open the emails, Server error appears on the screen, but I'm connected to the internet, please help.
-
MS WORD 07 drawing shapes do NOT print
The design of the forms appear on the preview before printing, but when I print that THEY ARE NOT THERE... Help!