.vi files access using Labview Communication Suite

Can't I access labview files from Comm Design suite?
What I see is it has got all the functionality I would be needing to program a USRP which I other wise use to do with Labview.  Why .vi files are not being supported by cmm suite?
2. If I want to design a system comm suite is enough or I still need to buy Labview Package?

Hello Wired_,
With regards to your second question, LabVIEW Communications will allow you to design, develop, and test your communication algorithms.  With this software, you will not be able to build your application into a executable format outside of LabVIEW Communications.
Regards,

Similar Messages

  • Is there a way to hide and unhide specific files programmatically using Labview?

    I writing an application that produces 3 binary data files and I want the user to only see 1 of the 3 files.
    I'm using Labview 6.1 and windows 2000.

    You can use System Exec.vi to call attrib.exe. Atrrib.exe is a command prompt program (left over from the DOS days) which can be used to read or set file attributes (including hidden).
    A sample command line passed to System Exec.vi follows.
    attrib +h "C:\My Documents\My File.bin"
    The quotes around the file name are required if the path or file name doesn't follow the old DOS 8.3 format.
    To hide a file, use the +h option. To unhide a file, use -h.
    The limitation of using this approach is that the Windows Explorer can be set to display hidden files. You might want to put the hidden files in another directory.

  • Can you edit file properties using Labview?

    Except for the file attributes like 'read-only' and 'hidden', Windows 2000 & XP also have file properties like 'keywords', 'comments' and 'description'.
    Is there any way that I can edit these properties in Labview?

    RichElswick wrote:
    nope, we never got that far and I am no longer on that project.
    And it would be a bitch to implement. Basically those properties are implement using propertysheet handlers. That are shell extensions that can be installed in Windows and in the registry added to one or more file types. On loading the property dialog the shell (basically only an Explorer thing) sees that for that specific file type there are property sheet handlers registered and then loads them as an extra property sheet into the dialog.
    There is no common API to retrieve and lets forget about changing the information those property sheet handlers deal with programmatically. And every property sheet handler retrieves the actual properties according to his own private information, such as image properties in JPG files but possible also extra information in the meta data of a file on advanced files systems such as NTFS (the security property sheet for instance).
    So you would have to create a Windows dialog, load the according property sheet handlers into it and then have the user deal with that interactively. I doubt that this is what you want.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Appending to a file accessed using a URLConnection

    Hello,
    I have a server hosting a text file, and I want to write a program that connects to the server and appends data to the end of this file. The problem is that URLConnection does not support appending data to the file, but just overwriting it.
    Is there another way to append data to the file?
    Thanks.

    Hello,
    I have a server hosting a text file, and I want to
    write a program that connects to the server and
    appends data to the end of this file.That would be the server's job to do that.
    Is there another way to append data to the file?Yes. Have a server process and let that append the data it receives to the file using a file writer.

  • Target file name using Dynamic Configuration

    Hi,
    Currently we have requirement Idoc to File interface.In this scenario if one field exists infile then we have to check and we need to create update directory and  if it is not exist then we should create one more  directory and upload files over there there files should create with timestamp. Since,File system using Sql database so we have used JDBC lookup to check that particaluar field  and if it exists we are passing update to UDF if it is not then we are passing constant Create to that. If we use Adapter Specific Message Attributes  then in reciever side file Communication Channel addtimestap will it consider or do we have to write anything in Udf it self? Could anybody explain on this?Please provide some sample udf .
    Thanks ,
    Aparna.
    Edited by: aparna_karnam on Dec 24, 2011 11:44 AM
    Edited by: aparna_karnam on Dec 24, 2011 11:52 AM

    Hi,   
            I have added little changes to the code you have written, to meet your expectations
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,"/sap-dev/" +a);
    DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    string filename=conf1.get(key1);
    final String DATE_FORMAT_NOW = "dd-MM-yyyy_HH-mm-ss";
    String s;
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(DATE_FORMAT_NOW);
    java.util.Calendar cal = java.util.Calendar.getInstance();
    s=sdf.format(cal.getTime());
    filename=a+" "+"User_"+s+".txt";
    conf1.put(key1,filename);
    return " ";
    So if value of input variable "a" is "update" then the target directory will be "/sap-dev/update" and the file formed will have name "update User_26-12-2011_01-20-50.txt", of course the date and time values will change depending on server settings. I just showed a sample. one more point, the directory will not be created, you have to create the directories before you run the scenario, only the final directory will be decided depending on value of variable "a". In case you wanna create new directory if directory is not pre-existing then try ticking  on "Create Target Directory" option under "file access parameters" in communication channel. (I have never used this option u can have a try. )
    Now coming to your queries
    1. But whether file type txt automatically it will take or do we have to give in udf it self ?
    ans) You have to put the value in UDF as I have done in code.
    2.    how it will consider timestamp ?
    ans) This has been generated in UDF itself.
    3.  how i can give file extension .txt?
    ans) same as ans 1
    4. And also in Receiver Communication Channel under Adapter Specific Message attributes we have option of file type how it works?
    ans) File type determines is the file you are going to write is of type "text" or "binary". From "Processing Parameters" tab you can select this from drop down menu in communication channel or you can set it through ASMA properties in similar manner as you have done for file name and directory name. For more details refer to http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
    Finally few more points I would like to add
    1) you have  not mentioned the operating system of the server where file is going to form. In case its UNIX/LINUX you are not allowed to use space in the filename. you can consult these links before you decide on file name and directory name in the UDF mentioned above
    http://www.med.nyu.edu/rcr/rcr/nyu_vms/unixfileanddirectorynames.htm     (UNIX)
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#naming_conventions  (WINDOWS)
    2) you can alter the string "DATE_FORMAT_NOW" as per your requirement so  that the timestamp appears in the way you want. I have just showed a sample.
    3) Plesae do not forget to tick on the options "Use Adapter-Specific Message Attributes indicator", "Fail If Adapter-Specific Message Attributes Missing", indicators "File Name" and "Directory" under "Define Adapter-Specific Message Attributes." in receiver communication channel.
    Hope this solves your problem.
    Wish my dear forum members and users of SDN
    Merry Christmas and Happy new year (in advance)
    Regards
    Anupam
    N.B:- I initially forgot to add the ".txt" part to the file name. I made necessary corrections in code now.

  • Load error in LabVIEW communications

    Hello Everyone,
    I am using LabVIEW Communications System Design suite. I connected USRP 2953R using PCI interface to the laptop. 802.11 WLAN framework is being used for the project. I had to check channel estiomation using antennas and it was done. Today, I am stuck with a load error while opening the project. It is saying that the project includes following featrues thta are not supported in this version of LabVIEW-
    LabVIEW FPGA SystemDesigner plugin
    USRP SystemDesigner plugin
    FlexRIO SystemDesigner plugin
    LabVIEW FPGA
    I attached a screenshot of it. Please have a look and help me in sorting this. 
    Best Regards,
    Ramya
     

    Hi Everyone,
    This was a problem due to communications suite license. I contacted the sales department and they gave me an activation key to extend the license(as I am using the suite on a trial period).  There was a loading error because LabVIEW communications software was loaded instead of Suite which is not suitable for the respective plugins. The issue is resolved when I used the activation key to reinitiate LabVIEW suite. And I thank everyone who tried to help me. 
    Best Regards,
    Ramya

  • Technical Communications Suite Online Training Library

    Has anyone used Technical Communications Suite Online Training Library?  It's become very apparent that in order for me to be productive quickly using FrameMaker 9 and the rest of the applications in the Technical Communications Suite, I need some formal training and purchase of the online training looks attractive.  I couldn't get any specific information as to which versions of the applications in the suite are covered, but I did see where the training library is updated regularly.  I'm hoping this means once training of the new versions of the Technical Communications Suite is released (such as FrameMaker 9), I'll have access to them. I called the 1800 ordering phone number, but their response was "we are currently undergoing re-organization, so please call back Wed of next week".  Any input will be highly appreciated.
    Eric

    Has anyone used Technical Communications Suite Online Training Library?  It's become very apparent that in order for me to be productive quickly using FrameMaker 9 and the rest of the applications in the Technical Communications Suite, I need some formal training and purchase of the online training looks attractive.  I couldn't get any specific information as to which versions of the applications in the suite are covered, but I did see where the training library is updated regularly.  I'm hoping this means once training of the new versions of the Technical Communications Suite is released (such as FrameMaker 9), I'll have access to them. I called the 1800 ordering phone number, but their response was "we are currently undergoing re-organization, so please call back Wed of next week".  Any input will be highly appreciated.
    Eric

  • How to read data which is written in little endian using labview

    dear all
    My program in c++ creats a binary file with data as
    struct varaiable
    int a;
    double b;
    doublec;
    float d[30];
    floate[50];
    char time_date[30];
    30 such data type is stored in one .b file.
    when i am reading the file back using labview the data is not the same as stored.
    i think that my c++ program stores data in little endian format while labview is retrieving it in  big endian format.
    i Checked and found that when i am storing a=2 then while retrieving back in lab i displays it as HEX of 02 00 00 00.
    Same is the problem with double and float.so can somebody tell me how i can change labview to read in little endian format.
    I am using labview7.1 
    Abhimaniu

    Yes you are correct. Labview and C uses different endian format. Do not worry you have the toolbox in labview. The most important is the typecast function. With this you can convert anything into everything. And as long as you keep the number of bytes and the internal order intact you will always be able to convert things back. I have made an example for you regarding this topic. It is in LV7.1. I have kept this version since the new butt ugly graph cursor introduced in LV8 is a gigantic bug, and should never have seen the light of day.  Well enough of my frustration. In the data manipulation palette you will find the type cast and tools for byte/integer swapping and byte/integer splitting and merging.  If have done a similar thing before. But I do not remember exactly how to convert a C double into a labview DBL. But take a look at the number 123.123. In this number all the internal bytes are different so by comparing the C version and the labview version byte by byte you will be able to convert it correct. I your case the C struct is 4+8+8+(8X30)+(8x50)+30=690 bytes long. So this is the number of bytes you read each time. I your case I think it will be more convenient to read it as an array of 345 I16(words) but this is up to you.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.vi ‏59 KB

  • Transfer time stamp from text file into MS Access thru Labview

    Hello everyone,
    I am Cruz; Long time listener, First time caller.
    I am currently monotoring data being collected by an oven. The data is stored in a text file. I am using Labview to take the data from the textfile and place it in an MS access DB for manipulation. The first three columns of the text file are the time stamp of data. When i transfer the data into Access i cant get the first three columns to display as a time stamp. Can have some pointers on what how to get the first three columns to display correctly.
    Additional info:
    the text file is a 1D array that gets overitten with every new mesurement tanken. the transfer to Acces is to not loos any of the information and to better manipulate the data into forms and such.
    Running Labview 2010
    attached is code and text file.
    Any help is greatly appreciated.
    Attachments:
    Oven test other.vi ‏16 KB
    datalog032010003.txt ‏1 KB

    Your first mistake is reading the file as DBL. Your first three columns are obviously not numeric values. Did you ever look at the output array? Read it as strings. Second, you would need to combine those first three columns to create an actual time stamp before you write to the db. Unless of course you have one column for date, one column for time, and one column for AM/PM. I would not recomend that type of structure in the db.

  • Process Failure when communicating over MODBUS using LabVIEW 2011 and DSC

    I'm currently trying to read from a PLC's holding registers using MODBUS/TCP. I've confirmed that the PLC is updating the values and responding to MODBUS communication correctly using a third party program called Modbus Poll. However, when I try to poll the PLC using LabVIEW's shared variable engine, I am unable to read any values from the same addresses that I'm viewing with Modbus Poll.
    My setup simply consists of a PC connected directly to the PLC over Ethernet, with no router in between. I am using LabVIEW 2011 SP1 with the DSC module.
    I opened the NI Distributed Systems Manager to view the status of all shared variables in the Modbus library that I created and I've noticed that the CommFail bit is permanently set to "true". All other variables with a "read" access mode report "Process Failure". I've tried restarting the process as well as stopping and starting the local variable engine with no success. I've also restarted my computer several times to see if any services were failing, but this does not seem to have fixed the problem.
    I finally resorted to monitoring communications over the network card that I have the PLC plugged into via Ethernet using Wireshark and I've found that while Modbus Poll is communicating with the PLC, many MODBUS and TCP packets are sent and received. However, when solely using LabVIEW or the NI DSM to communicate with the PLC, there does not appear to be any communication over the network card.
    Something that may be worth noting is that I was able to communicate with the PLC and read values from it with the DSM on just one occasion, when I first figured out which addresses I should be reading from. It all stopped working shortly thereafter. Prior to this, "CommFail" was not usually set to "true" with my current configuration. Thinking that it was my firewall, I have since turned my firewall off, but this seems to have had no effect on the problem either.
    Any help on this matter would be appreciated.
    Solved!
    Go to Solution.

    Just a thought but I think the  register addresses used by LabVIEW are one off of the actual register #.  I was using a CRIO as a modbus IO Server and had to shift the register addresses by 1 to get things to work correctly (can;t recall if it was +1 or -1).  This is documented somewhere on ni.com but can;t seem to find it now.  But here is another  link that may help:
    http://zone.ni.com/reference/en-XX/help/371618E-01/lvmve/dsc_modbus_using/
    Dan

  • How to transfer file from PC to PC via serial port using labview

    I need to transfer files(.txt, .doc, .xls) from PC to PC via serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?
    Solved!
    Go to Solution.

    Yes, it is possible to transfer files with the serial port using LabVIEW.  Files are just collections of bytes and the serial port is pretty good at shipping bytes from one PC to another.  You need to connect the serial ports together with a null modem cable.
    First, take a look at the example for serial communication.   In LabVIEW, go to the Help menu and select "Find Examples...".  From there you can search for "serial" or navigate to Hardware Input and Output >> Serial.  Select the "Basic Serial Write and Read.vi".  Experiment with that example to gain confidence on the serial communication methods.
    Next, it's time to learn about how to read and write files.  For that, the examples could be somewhat confusing since they all deal with files that are presumed to have data of a specific type in them.  I would recommend just getting familiar with the functions on the File I/O palette.  Specifically, get to know the following functions.
    Open/Create/Replace File - On your destination side, you'll need to create the copy of the file that you are trying to transfer
    Close File - When you are finished reading from or writing to a file, you should close it.  It cleans up the memory being used and finalizes any write operations that are still floating in the write buffer.
    Read From Binary File - The best way to read from a file when you do not really care what type of file it is.  In your case, you just want to get those bytes read and sent out so they can be written down at the destination.
    Write to Binary File - At the destination side, this is what will store those bytes to the file you created with number 1.
    Get File Size (under the Advanced File Functions sub-palette) - You need to know how big the file is so you know when you are finished.
    OK, so once you are able to create files, write bytes to them, and read bytes from existing files you can move on to transferring.
    The basic method I would suggest is to have the user specify a source file on the source PC and a destination folder on the destination PC.  Then, find out the size of the source file using number 5.  Divide that size number by the number of bytes you feel like transferring at once.  The serial buffers are usually around 32k (if I remember correctly) so do not exceed that.  Now begin sending data by reading some number of bytes and wiring that string output to the VISA Write function.  On the destination side, you'll want to be monitoring the serial port for bytes and reading them when they arrive.  Wire that string to the Write to Binary File function to add them to your destination file.
    That is the basic outline of how to do it.  You have to be careful not to overload the write and read buffers on the serial ports.  Initially you can use delays on the sending side to make sure the reading side has enough time to digest.  To get things moving faster, you can bring in some flow control.
    If all that sounds a bit intimidating, there are Alliance Member companies out there (such as PrimeTest Automation) who can write such code for you and even provide a turnkey solution for you.
    Happy wiring,
    Dan Press
    Certified LabVIEW Architect
    PrimeTest Automation

  • Sun Java Communication Suite 5 using example deployment not working

    I download the sun java communication suite 5 for solaris sparc.
    I have a sunfire 280r server with Solaris 9 9/05 HW s9s_u9wos_06b SPARC installed.
    I follow the document 820-0086.pdf to try the product (deployment example), i succesfully installed the product using acasalud.com.ar as the domain.
    The problem arises when i begin to verify the installation(page 16), i sucessfully start the web services but when i put:
    http://fully-qualified-hostname:web-server-port/amconsole
    Nothing happens, the amconsole url doesn't exists.
    Somebody knows how to solve this?

    I found this in the logs:
    Web Server Admin command (/SUNWwbsvr7/bin/wadm) not found!|#]
    [#|2007-12-13T17:53:02-03:00|WARNING|CommsSuite|JavaESInstall|_versionID=1.0;_th
    readID=11;_SourceJavaFile=EntsysConfigurator;_SourceMethodName=executeCmd(cmd,en
    vp,dir);_CommsSuiteMessageID=;_CommsSuiteResourceBundle=|
    ldap_add: Already exists
    ldap_add: Already exists
    ldap_modify: Type or value exists
    ldap_modify: No such attribute
    ldap_modify: No such attribute
    ldap_modify: No such attribute
    ldap_modify: No such attribute
    ldap_modify: Type or value exists
    ldap_modify: Type or value exists|#]
    [#|2007-12-13T17:53:02-03:00|SEVERE|JavaES|JavaESConfig|_versionID=1.0;_threadID
    =11;_SourceJavaFile=IdentityServConfigurator;_SourceMethodName=configure();_Comm
    sSuiteMessageID=JavaES_ConfigIS24;_CommsSuiteResourceBundle=EntSysLoggingResourc
    es;_CommsSuiteArg1=1|Access Manager Configuration Failed ...1|#]

  • Is it possible to integrate a mentor graphics drawing file using labview or any labview toolkit..!!!

    I m having a mentor graphics drawing file having drawn with the components like resistor,capacitors etc..I need to develop an application to interface to the file using labview or adding a toolkit to labview to access the components like resistors etc .Can any body  help me about this....?
    Thanks in advance...!
    Certified Labview Associate Developer(CLAD)
    Don't Forget to Rate the answers.!!! You can do it in few seconds

    Hi Lynn ,
    Basically i want to read the mentor graphics drawing file data in a labview front panel, so that i can display the components as we see in the mentor graphics development enviornement and should be able to click on the components to perform the tests associated with the same.For this,i think i need to have the BOM kind of data only as i need the components data associated with the drawing file,after this i would create a custom control for each and every component and then call the tests associated with it as soon as the user clicks on the same.I hope you understand my requirements.
    Thanks & regards,
    Dinesh Kumar
    Certified Labview Associate Developer(CLAD)
    Don't Forget to Rate the answers.!!! You can do it in few seconds

  • How to access parallel ports using LabVIEW?

    I want to send data to a device which is connected through LPT1.when Iam using serial port write.vi with port number 10(for LPT1) it is giving an error code 37 which means the device not found. whether those vis are only for accessing serial ports? Then how to access LPT1 using LabVIEW?

    Most likely you need to modify your labview ini file to let it know that LPT1 (or whichever) will be controled through the serial port control. See the following link for a knowledgebase answer to this question:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a5abd9d76665217b86256333005ac9a5?OpenDocument
    Jared

  • Xilinx SDAccel and NI LabVIEW Communications System Design Suite win a pair of EETimes/EDN ACE Ultimate Product Awards

    Last night, EETimes and EDN presented a number of ACE Awards including twelve “Ultimate Product” awards. The Xilinx SDAccel Development Environment for C, C++, and OpenCL won the Ultimate Product Award in the Development Kits category.
    EETimes/EDN 2015 ACE Awards
    From the SDAccel entry form:
    “The SDAccel development environment for OpenCL, C, and C++, enables up to 25X better performance/watt for data center application acceleration leveraging FPGAs and combines the industry’s first architecturally optimizing compiler supporting any combination of OpenCL, C, and C++ kernels, along with libraries, development boards, and the first complete CPU/GPU-like development and run-time experience for FPGAs. SDAccel streamlines the development and deployment of critical algorithms such as Deep Neural Networks used in machine learning.
    SDAccel includes the industry’s first architecturally optimizing compiler that makes efficient use of on-chip FPGA resources along with a familiar software-development flow based on an Eclipse integrated design environment (IDE) for code development, profiling and debugging, providing a CPU/GPU-like work environment.
    SDAccel leverages Xilinx’s dynamically reconfigurable technology to enable accelerator kernels optimized for different applications to be swapped in and out on the fly. The applications can have multiple kernels swapped in and out of the FPGA during run-time without disrupting the interface between the server CPU and the FPGA for nonstop application acceleration. This functionality is ideal for swapping applications during peak loading periods.”
    (Note: For more information about the Xilinx SDAccel design environment, see “CPU/GPU-like software development environment for OpenCL, C, C++ delivers FPGA-based app acceleration with 25x better performance/W,” “and “Latest SDAccel release adds 4 new hardware dev platforms, 4 new libraries, 6 new design services firms.”)
    Vinay Singh accepts an ACE Award for the SDAccel design environment from Max Maxfield
    The LabVIEW Communications System Design Suite from National Instruments (NI) won the ACE Ultimate Product Award in the Software category. NI’s LabVIEW Communications System Design Suite combines software defined radio (SDR) hardware with a comprehensive, unified software design flow to help engineers prototype 5G systems. The package includes built-in application frameworks for WiFi and LTE that enable wireless developers to focus on creating specific components based on existing standards rather than designing new algorithms from scratch.
    The LabView Communications System Design software is coupled with the company’s USRP software-defined radio development platform for 5G research, which is based on a Xilinx Kintex-7 All Programmable FPGA. Wireless engineers can use the NI USRP RIO and the NI LabVIEW Communications System Design software to rapidly prototype real-time wireless communications systems and test them under real-world conditions.
    (Note: For more information about the NI LabVIEW Communications System Design Suite, see “LabVIEW Communications System Design Suite combines SDR hardware with a unified software design flow for 5G development.”)
    Congratulations to all of the talented developers from both National Instruments and Xilinx who created these award-winning products.
     

Maybe you are looking for