How to streaming data/image from labview to a third party software
Hi, i am working on a research project and stuck on the following problem: I have two cameras and one IMU Sensor unit, all conected to my PC. I save the camera images as avi format and the IMU sensor as TDMS format. I have also another software running on the same PC which i developed using VisualStudio2013. On this software i alredy implemented a very complex filter to fuse images and IMU. Now my quesion: would be it possibel to stream the .avi and .tdms from LabView to my software so I can test in real time how my filter is performing? If yes please let me know what LabView function do i have to use. thanks
Thanks, the hardware are my PC, 2 usb cameras and one usb-IMU sensor. The PC runs w7 with LabView2014. I can read the camera and IMU to my Laview without any problem and save the data on my hard desk. I am also developing another software on VS-C++ for image processing and data fusion. I would like to know what is the best (and fastest) possibility to stream this data (Images and IMU) in real time from LabView to my own software?
I read a lot in NI-website on how to communicate LabView with a third party software. They are summarized in this link:
https://decibel.ni.com/content/docs/DOC-9131
It looks for me that the ‘shard memory’ principle (or File Mapping) is the most convenient method. In VC++ under windows I can easily handle shared memory by calling FileMapping windows functions. Now the question is how can I do that in LabView? I am relatively new in LabView and do not know if it is possible to use shared memory in LabView. For example: is it possible in LabView to buffer both video streams and IMU-data (live) in a shared memory in computer RAM using the windows FileMaping functions (may be using .dll). Then I can access the RAM form my own software and read the stream. Please see the attachment for more description.
Attachments:
Unbenannt.PNG 139 KB
Similar Messages
-
Hi All,
I am storing the files in apex database which are uploaded through apex form. Now i want to move these files to the third party server on regular bases. Means once we stored those files in our apex database at specific time on everyday we have to move these files to google drive. How can i achieve this please do need full.
Version: apex 4.2
Regards,
Vijay JHi Vijay,
Check out the following code: https://gist.github.com/trent-/7526011
The following need to be set accordingly
g_upload_folder_id - the google folder ID (obtained from the URL) - used as a default to upload into a particular folder
g_wallet_path - the path of your oracle wallet with the trusted certificates imported
g_wallet_password - the password for the above wallet
g_redirect_uri - The procedure that has your implementation with what to do after the user accepts
g_client_id and g_client_secret - property's from your project out of your google API console
l_endpoint_url in the function authorization_code_callback - the page to go to after authorizing
This particular code is designed to use a refresh token such that once the user authorizes, the system can refresh the token whenever they need. But you can adjust this to suit your needs. I suggest reviewing the following documentation: https://developers.google.com/accounts/docs/OAuth2WebServer
So, here is what I've done. Create a button, with a dynamic action click event with the following code:
$.ajax({
url: '&OWNER..google_drive.GET_AUTHORIZATION_URL',
data: {
p_state: &APP_SESSION.
success: function(data){
window.location.href=data;
This redirects the user to the authorization page. And as you can see in the code, would run the following when authorized:
update app_users set refresh_token = (returned token); -- that is, depending on your user management design, you would need to adjust this accordingly.
Then to upload the file, I have an onsubmit process with:
declare
l_filerow apex_application_files%rowtype;
begin
select * into l_filerow
from apex_application_files
where name = :P133_ATTACH_DATA;
:P133_GOOGLE_DOC_ID := google_drive.create_file(l_filerow.blob_content, l_filerow.mime_Type, l_filerow.filename);
end;
Please also review the following post, which describes the overall process of setting up the project, wallet, acl, etc: Oracle Apex Tips: Accessing Google Data
There are probably bits of the code that need refinement, and better error checking, but hope it helps :-) -
How do download a YouTube video without using a third party software?
I already know, you can press option + cmd +A to open activities window, and double click on the .flv file to start download, but instead of downloading, it plays in another new window, what can I do?
click to flash makes it fairly easy.
http://hoyois.github.io/safariextensions/clicktoplugin/ -
How to file data from sap server to third party-tibco using EDI-Idoc?
Hi all,
I need to send data from sap server to third party system in th form of file.
Please guide me how to send data file from sap server to third party-tibco using edi-idoc?
Also guide the configuration ti be done for EDI.
Thank you.1)create file port
2)TCP-IP RFC destination with a program RFCEXEC to be executed on application server
3)Dummy distribution model
4)Partner pofile of type other han LS -
How do I acquire images from my usb webcam ?
Hi all ,
How do I acquire images from my usb webcam (logitech quickcam express ) ?
I use Labview 7 .Pedrus wrote:
> Hi all ,
> How do I acquire images from my usb webcam (logitech quickcam express)?
> I use Labview 7 .
This seems a very popular question coming up about once every week at
least. And there are many good answers in the developer Zone on www.ni.com
Check out:
Irene He's IVision Toolkit:
http://www.hytekautomation.com/Products/IVision.html
or
Pete Parentes WebCam library:
http://www.cs.unc.edu/~parente/labview/index.shtml
The first is a rather impressive Video Manipulation library with a
nice video capture interface to VfW too, and the second is a simple
video capture library to access any VfW compliant device.
Rolf K"
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
How to read bytes(image) from a server ?how to display image after read byt
How to read bytes(image) from a server ?how to display image after reading bytes?
i have tried coding tis , but i couldnt get the image to be display:
BufferedInputStream in1=new BufferedInputStream(kkSocket.getInputStream());
int length1;
byte [] data=new byte[1048576];
if((length1=in1.read(data))!=-1){
System.out.println("???");
}System.out.println("length "+length1);
Integer inter=new Integer(length1);
byte d=inter.byteValue();didn't I tell you about using javax.imageio.ImageIO.read(InputStream) in another thread?
-
How can I download images from website with Automator?
Hi!
I want to ask how can I download images from website with Automator like here http://www.youtube.com/watch?v=hQm7Xr9jY0w&t=85m15s (in 1:25:15).
I want to download these images to my downloads folder. Some things have changed and I can't find exact options as then. When I am trying to make it it shows "The action "Download URLs" was not supplied with the required data."
I am using 2012 late iMac with Mac OSX 9.2 (Mavericks).There are two apps that I know of - and I would also swear that they come from the same developer, although they've different names. Both have free trials and both cost $40 (but both do 'other' video conversion as well).
One is WonderShare - I bought this one and it works very well for downloading YouTube videos as well as converting just about any file format you can think of.
The other is iSkysoft Video Converter (just noticed that it's now $36).
I tried them both and finally decided on WonderShare. Give them both a trial run and decide if you like either one enough to buy it. I don't know of any 'free' software that will allow you to download and convert YouTube videos, but perhaps someone else will come along and know of something...
Good luck,
Clinton -
How to capture an image from my usb camera and display on my front panel
How to capture an image from my usb camera and display on my front panel
Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
Christian -
How to get all images from folder in c#?
I am trying to get all images from folder. But it is not executing from following:
string path=@"C:\wamp\www\fileupload\user_data";
string[] filePaths = Directory.GetFiles(path,".jpg");
for (int i = 0; i < filePaths.Length; i++)
dataGridImage.Controls.Add(filePaths[i]);
Please give me the correct solution.How to display all images from folder in picturebox in c#?
private void Form1_Load(object sender, EventArgs e)
string[] files = Directory.GetFiles(Form1.programdir + "\\card_images", "*", SearchOption.TopDirectoryOnly);
foreach (var filename in files)
Bitmap bmp = null;
try
bmp = new Bitmap(filename);
catch (Exception e)
// remove this if you don't want to see the exception message
MessageBox.Show(e.Message);
continue;
var card = new PictureBox();
card.BackgroundImage = bmp;
card.Padding = new Padding(0);
card.BackgroundImageLayout = ImageLayout.Stretch;
card.MouseDown += new MouseEventHandler(card_click);
card.Size = new Size((int)(this.ClientSize.Width / 2) - 15, images.Height);
images.Controls.Add(card);
Free .NET Barcode Generator & Scanner supporting over 40 kinds of 1D & 2D symbologies. -
How to get Date Format from Local Object.
Hi All,
I am new to Web Channel.
I need to know Date format From date of locale.
suppose there is a date "01/25/2010" date in date field I want to get string "mm/dd/yyyy". Actually I have to pass date format to backend when I call RFC.
Is there any way to get Date format from "Locale" object. I should get date format for local object
I get local object from "UserSessionData" object but how to get Date format from it.
I am not looking for Date value. I am looking for current local date format ("mm/dd/yyyy or dd/mm/yyyy or mon/dd/yyyy) whatever local date format. I could not find example which show how to get date format from "Locale" object.
Any help will be appreciated with rewards.
Regards.
Web ChannelHi,
You can get it from "User" or "Shop" business object.
Try to get User or Shop Business Object as shown below.
BusinessObjectManager bom = (BusinessObjectManager) userSessionData.getBOM(BusinessObjectManager.ISACORE_BOM);
User user = bom.getUser();
char decimalNotation = user.getDecimalPointFormat().getGroupingSeparator();
If you are seeing "1,234.00" then above code will return "."
I hope this information help you to resolve your issue.
eCommerce Developer. -
HT4007 How do I export images from Aperture to my iPad Mini?
How do I export images from aperture to my iPad Mini?
BerndpeterI am going to give it a try.
Greetings from Mexico! -
How do I import images from my hard drive without losing resolution? My original files after import are significantly smaller. What should I do?
Hi Keith, and all others chiming in, I do have the correct option checked in advanced settings telling iPhoto to copy the images into the library. What is a refernced library? Perhaps this is where I am getting confused. I exported my entire photo library from an old iMac5 to my external hard drive, from there I attempted to import the entire library to my new iMac. Am I overlooking an obvious and easy way to import from the hard drive to the new iMac--I dragged the entire photo pholder from the hard drive to the open window of iPhoto on the new computer. Now, I only get preview file sizes in iPhoto, unless I have my external drive open. Perhaps I need to import the original images from the hard drive in a different way...?! (This is making me feel pretty stupid.)
-
How do I remove images from aperture?
Totally new to apple and aperture so I apologise if this seems like a somewhat noob question but how do I remove images from aperture (using the latest version, 3.4.1)? Coming from a PC and using lightroom I'm used to being able to remove images in two ways:
- removing the image from the "library", so that it no longer shows up in the program at all but is still on your hard drive (when I say removing it from the program entirely, I mean entirely, i.e. not sitting in a trash can or some other place where it's still taking up memory)
- deleting the original image off the hard drive
Is it possible to do either of these things in aperture, on both just a single image or a selection of multiple images, and if so how? I've tried googling this already and am getting a bunch of mixed solutions, none of which have really worked so far, so any answers would be appreciated. Thanks!The answer partially depends on whether you have a managed or referenced library. Since you're totally new to Aperture, I'm assuming you have a managed library since that's the default.
FYI: Managed means Aperture handles image files and places them inside the library file. Referenced means you manage the image files and Aperture only points to (references) them.
For a managed library, select an image you want to delete. Type command-delete. (That's the reverse delete key next to the "=" key). (You can also right-click an image and choose Delete Version) That will remove the images from their Project and place in the Aperture Trash. They're still taking up space in the Trash. If you really want them gone for good, right-click the Trash in the library pane and select Empty Trash. Poof.
For a reference library, I forgot the exact details since I don't use this type of library, but you'll be asked (or can check a box) to delete the original file from the disk. -
How can I access images from IPhoto on my Mac to Photoshop CS6
How can I access images from IPhoto library on my Mac to Photoshop CS6? I enable jpg with format "Photoshop" and this is what comes up - "Could not complete your request because Photoshop does not recognize this type of file"
MountainArtist wrote:
…I enable jpg with format "Photoshop" and this is what comes up - "Could not complete your request because Photoshop does not recognize this type of file"
Photoshop is not a format. It's an application.
What you are looking at are not true JPEGs, just iPhoto's "tease" representations of the hidden images it swallowed, as explained above. -
How do I remove images from Notes app?
How do I remove images from Notes app?
I sometimes find that, when cutting and pasting text from the web, an image is also copied (pretty much at all times I try and avoid this, but sometimes the selection process doesn't allow for fine enough control - e.g. a whole block of content may be selected, rather than just the few words I'm trying to copy).
I then find, once it's part of my note, that I cannot select the unwanted image and remove it. Can anyone tell me if this is something that can be done, and if so... how?
Thanks, SebastainHi Drew & Kilgore*
Thanks for your replies. I also have and use Simplenote, although I went off it for a while, when it started crashing all the time on me. It seems to be more stable again now, so I'll start using it more regularly again, perhaps.
I am, obviously, disappointed that one can't simply select ANY object within a Notes document and choose to delete it. As I rather suspected, the only solution is an annoying workaround. Apple stuff seems to get more like this as time goes by. At least in my experience.
I solved the issue my own way in the end, but I guess it was close to your 1st idea DR, and your 2nd option, KT: I basically cut and pasted everything above, and then everything below, the image, and pasted both chunks of text into a new note. So it took two passes, and left me with the original note just displaying the image, which I then trashed.
Tapping to the right of the image followed by deletion was what I hoped & expected would work. But instead the image stayed put and the text below the cursor would simply slide along the right hand side, moving upwards as I deleted! Most bizarre, to my mind at least.
Anyway thanks for the feedback. But, for anyone else that might want to know how to do this, the answer is: NO, you can't select and delete an image once it's in one of your notes!
* I quite recently watched the rather strange Bruce Willis / Nick Nolte 'Breakfast of Champions' movie... I think I still prefer the book to the film!
Maybe you are looking for
-
Black Screen After Fans Run at Maximum
Hello, I inherited an iMac and it an issue. It boots up fine but within the first five minutes the fans start to slowly ramp up to full speed. After about five to ten minutes of the fans running at full speed the screen goes black and I lose control
-
How to change the type of letters
To show me how to change the letters
-
I downloaded the trial version of LR5, then imported a set of images, shot with my new Nikon D7100, and saved as both JPEG and NEF on the memory card. When I imported them to LR, the JPEG images are visible but the NEF images are grey squares--altho
-
How is it possibile that a max in a subquery gets a ORA-01652?
I've got a very complex query Let's suppose having three tables whose alias are x, y and z (and others tables) Inside the WHERE of the query I've got something like: x.x2 = (select max(y.y2) from mytable y where y.y1 = z.z1) If I try to execute it on
-
How to fill Functional Area on Appropriation request
Hi guys! We faced a problem to fill standart field IMAK-FKBER (functional area) on Appropriation request. Despite the fact it exists in standart table, there are no standart ways to fill that field through IMA1N or IMA11. However we assigned FA NG000