Need some advice on the best way to do specialized source distribution
I need to give a customer a labview block, they can use our material in their own labview code that will read the (encrypted) data net senor off the coast and the flow of data in a form usable output. I built a vi that can be used in a loop, a bit similar to the block of canned labview data acquisition that can be used to acquire data from products OR.
There are many sophisticated (and secret) algorithms going on in the background which make sense data and translate them into a usable data table, but also configure the hardware itself. Accordingly the only final vi I prepared to distribute the client makes use of Subvi about 20. Almost none of these subvis could be ideally be reconverted in plain code in main vi, nor what I want to do this.
The rules of the game is the following: I want to give him the block I created to use its own code, without him to see what's happening inside the vi. I can deny him access to the block diagram/s, no problem, but I don't want to give him access to the subvis, to use, or even to know their names - preference they would be hidden or otherwise pre-compiled. Preferably I would just give him the main block only, perhaps with some support files that would be entirely opaque to him.
Looking for advice on the best way to go. There is an elegant solution to this problem? For example, it would be better to compile the block as a .dll file, and then write a wrapper vi any?
Have you thought of creating a packed library? You can also password protect your code. You can delete the distributed code block diagrams. You can use a combination of the above as well.
Tags: NI Software
Similar Questions
-
Need advice on the best way to set up a 6 nic Server
I have a server with 6 cards. Looking for some suggestions on the best way of provision. We use the software iscsi client.
Here's what I think to do:
0/2 NIC (one onboard and a pci): VmNet
1/3 network interface cards (one on board and a pci): vmkernel: vmotion/service console
approx 4/5 (pci): vmkernel for software iscsi
Is there a better way to do it? It's just the way I'm used to doing. It would be nice to maximize the number of ports used for iSCSI.
Thank you!
-shane
Tough call...
If you lose the management network, HA will cause a failover.
If you lose the iSCSI, all virtual machines fail, but HA will not switch.
If you lose VM network, all communications from the virtual computer fail, but HA does not tip over.
If it was me, HA failover is a better option than full scall VM failure or net VM...
But now, you will get twelve opinions on which is better.
Dave Convery - VMware vExpert 2009
************************
Accomplish the impossible only means that the boss will add it to your regular tasks.
Doug Larson
-
Need your advice, choose the best update for first Pro CC
Need your advice, choose the best upgrade.
Because nobody can have a computer that runs all functions as quickly as desired, we have manage their it resources according to your needs, budget and for the money. Below is a fundamental issue related to Adobe Premiere Pro 2015 CC.
Need for better visualization without jerky look of a stutter and overall better performance incease.
Would I do better with? (Choose one please)
- Passing of an SSD to 2 SSD in RAID 0 configuration - cost about $350.
- Getting my video card NVIDIA GeForce GTX 560 Ti for a NVIDIA GeForce GTX 970 overclocked to 4 GB GDDR5 graphics card - $350.
- From Win 7 Pro 64-bit to win 10 Pro 64-bit.
Please explain why you made your choice.
Thanks in advance,
Tom
Tom,
At this point, you're pretty much stuck to a GPU upgrade. You see, that the GTX 560 Ti is not is properly supported in first Pro CC 2015 when it comes to acceleration GPU of MPE. As such, you may experience random program crashes and/or repeated which are fixed only when you disable acceleration GPU of MPE and run first in software mode only MPE.
The other improvements are out of the question: the i7 990 X CPU uses the chipset Intel X 58 now-seven-year-old, whose native Intel SATA ports are limited to SATA II (3 GB/s or 300 MB/s) flow. All support 3 SATA or USB 3.0 on motherboards that use such an old chipset comes entirely from complement third-party chipsets to companies such as NEC/Renesas and Marvell. And we know how slow the Marvell SATA 3.0 ports work are compared with native Intel SATA 3 implementation on newer chipsets. Unfortunately, a CPU upgrade would have exceeded the maximum budget $ 350 because both the CPU and motherboard (and probably RAM as well) should be replaced by such upgrade. And additional SSD upgrades are out of the question because newer SATA SSD would have been restricted by the sustainable maximum rate of 270 MB/s of SATA II.
Therefore, the only feasible upgrade would be a new GPU for your system now five-years.
Good luck in your quest to upgrade,
Randall
-
Support for PIVOT query (or advice on the best way to do it)
Hi gurus of SQL,.
I'd appreciate any help you could provide on this request, I'm assuming that the best way to do this would be by using the PIVOT function. I read through some of the documents and books, and done some research here in the forums, but can't seem to find a way to make it work.
I'm on Oracle 11.1.0.6.0 self.
I have a table like this:
We get this data each month - Month_A is always the most recent month, and so it goes back for this game, Month_A is 09 November, Month_B is October 09, Month_C is Sept 09, etc. I'm OK with Hardcoding this value each month, so for the purposes of this exercise, just assume that Month_A is the 09 November, Month_B is Oct 09, Month_C is Sept 09 and Month_D is Aug 09.ID Product Month_A_Amt Month_B_Amt Month_C_Amt Month_D_Amt 123 ProductA 3 5 7 9 123 ProductB 2 4 6 8 123 ProductC 10 11 12 13 456 ProductA 1 2 3 4 456 ProductB 3 4 5 6
I need essentially "Pivot" in this table, so the end result looks like this:
Here's the SQL code to create the database with test data table. Now that I've typed this explanation, it still seems easier that I had done it to be... but I'm still confused, so any help is greatly appreciated, thank you!ID Month Product_A_Amt Product_B_Amt Product_C_Amt 123 Nov 09 3 2 10 123 Oct 09 5 4 11 123 Sep 09 7 6 12 123 Aug 09 9 8 13 456 Nov 09 1 3 null 456 Oct 09 2 4 null 456 Sep 09 3 5 null 456 Aug 09 4 6 null
create table test_base_table)
Identification number,
Product varchar2 (20).
Number of Month_a_amt
Number of Month_b_amt
Number of Month_c_amt
Number of Month_d_amt);
insert into test_base_table values (123, "ProductA', 3, 5, 7, 9);
insert into test_base_table values (123, "ProductB", 2, 4, 6, 8);
insert into test_base_table values (123, "ProductC", 10, 11, 12, 13);
insert into test_base_table values (456, 'ProductA", 1, 2, 3, 4);
insert into test_base_table values (456, 'ProductB', 3, 4, 5, 6);
Published by: TheBlakester on February 10, 2010 19:56Hello
You don't want to make several clauses UNPIVOT and PIVOT; you want to do several sets of columns in a cluase PIVOT and UNPIVOT one clause.
In the UNPIVOT clause, it's just a matter of replacing the unique "amt" column before the keyword FOR with a list in parentheses '(amt_1, amt_2)' and the replacement of each column in the list (for example, "month_a_amt") with a list of the same length ("(month_a_amt_1, month_a_amt_2)" ").
In the PIVOT clause, it's just a matter of replacing the unique "SUM (amt)" aggregate function with a list of unparenthesized of functions, each with an alias ("the SUM (amt_1) AS amt_1, SUM (amt_2) AS amt_2'. The alias that will be added at the end of the givien for names output column in the IN clause.SELECT id , TO_CHAR ( ADD_MONTHS ( TO_DATE ( 'Nov 2009' , 'Mon YYYY' ) , month_num ) , 'Mon YYYY' ) AS month , product_a_amt_1 , product_a_amt_2 , product_b_amt_1 , product_b_amt_2 , product_c_amt_1 , product_c_amt_2 FROM test_base_table UNPIVOT ( (amt_1, amt_2 ) FOR month_num IN ( (month_a_amt_1, month_a_amt_2) AS 0, (month_b_amt_1, month_b_amt_2) AS -1, (month_c_amt_1, month_c_amt_2) AS -3, (month_d_amt_1, month_d_amt_2) AS -4 ) ) PIVOT ( SUM (amt_1) AS amt_1 , SUM (amt_2) AS amt_2 FOR product IN ( 'ProductA' AS product_a , 'ProductB' AS product_b , 'ProductC' AS product_c ) ) ORDER BY id , month_num DESC ;
Output:
. PRODUCT PRODUCT PRODUCT PRODUCT PRODUCT PRODUCT ID MONTH _A_AMT_1 _A_AMT_2 _B_AMT_1 _B_AMT_2 _C_AMT_1 _C_AMT_2 ---- -------- -------- -------- -------- -------- -------- -------- 123 Nov 2009 3 9 2 9 10 9 123 Oct 2009 5 9 4 9 11 9 123 Aug 2009 7 9 6 9 12 9 123 Jul 2009 9 9 8 9 13 9 456 Nov 2009 1 9 3 9 456 Oct 2009 2 9 4 9 456 Aug 2009 3 9 5 9 456 Jul 2009 4 9 6 9
It looks like all the new values of amt2 are 9. Don't you think it's the best test? I think that different numbers, as you used for the examples of previous data, reduce the chances of getting good results purely by chance.
If you want to experiment with queries like this, I suggest you use "SELECT *" (nothing added) in the SELECT clause. Start with just an UNPIVOT operation. Some examples in the documentation to do a TABLE CREATION AS... to save the results of an UNPIVOT operator and use this table as the base for a PIVOT table. I think it's a good idea to reduce confusion.
-
Give advice on the best way to create tables
Hello
I'm just after the best method to create a pdf document that got charts?
I have an order form which must be converted to an editable pdf form that users can fill in electronically and email back. Currently, the document is in Excel, and while I can convert it to PDF, I prefer to create the whole thing using the PDF.
Should what tools I use for this?
Kind regards
Peter
PDF files should not be created from scratch and if you try to do you will soon discover that it is extremely difficult and heavy.
Stick with the creation of the file in Excel (or any other similar application, such as Word, InDesign, etc.) and then convert to PDF and add form fields in Acrobat.
Be sure to keep a copy of the Excel file, well, in case you need to make any changes to the layout of the file later.
If you don't do this then you can order replace Pages use in Acrobat to insert new pages (static) on the 'old' in your PDF file, that will keep all the form fields and scripts of tact. You need to just adjust the locations or the size of the fields, where this is necessary.
-
Need advice on the best way to install win 7.
Hello
When I bought the Latitude E5500 there was an option to go with Win XP Pro or Vista Business operating system. I chose to go with XP Pro. A few months later I got a Windows 7 upgrade disk. It was about 3 years ago. I now give up the XP because the support ends soon. The upgrade of Windows 7 is Vista to Windows 7, XP to Win 7. In my software package, I found a DVD of resettlement for XP Professional and Vista Business. Suffice to say the label "already installed on your computer. I would like to know how to proceed.
Follow the Windows reinstallation Guide / A clean installation of Windows 7:
http://philipyip.WordPress.com/Dell-community-forums/
I recommend to use the file .iso image Digital River at the risk of updating of media more and include Service Pack 1.
If normal activation does not like its a product upgrade key then you can use the step 11 d to activate.
-
I need some advice for the Satellite L630/03
Hi all
I just bought my first Toshiba L630/037 (http://www.mytoshiba.com.au/products/notebooks/satellite/l630/psk04a-037001/specifications#details) and I'm really excited that I'm waiting to load for hours first 2 or if, after perform you a unboxing conversion it!
He looks bloody awesome and I can't wait to start using it!You have a few questions:
1. when I received it, the sticker that keeps the top down was already torn (as in a person already open).
The clerk said that everything is fine with it, so we opened it to check that the main seal for the laptop has not been broken and that the adapter and cable was there. Now that I'm home and I have everything out, I noticed that I have no CD.
Is that suppose to be right? I'm a bit confused because the last laptop that I bought a few of the installation CD and the drivers that came with it. In addition, is there something else I should be aware of that should have been in the box?
All I have is the power cord, power adapter, manual, portable with battery already in it.2. in the purchase, there are already standard warranty 1 year that comes with the laptop. I noticed on the Toshiba site, you can buy an extended warranty. Should I buy now? Or can I get, say 1 week before the end of year 1?
If anyone has useful tips or advice that would be greatly appreciated!
See you soon!
> I took everything out, I noticed that I have no CD.
Yes, that's right. No CD is delivered pre-installed Toshiba Software is on the HARD drive and you can create a clean recovery disk! Please see the operating manual!> Should I buy now? Or can I get, say 1 week before the end of year 1?
Well, as far as I know you don t need to buy the extended warranty immediately after the laptop was purchasedI found this info:
> Q: When can I buy the extended warranty?
> A: the extended warranty is eligible to purchase, during the period of warranty the laptop
http://www.MyToshiba.com.au/support/warranty/extended/FAQ -
Need some advice on the new computer from HP.
I bought a new HP computer and it shipped just yesterday and delivery date is Thursday (12th). I am new to HP computers, my other 2 desktops are Dell and Toshiba laptop of my wife. Laptop is Win 7 and desktop computers are Win XP. The most recent Win XP is:
Windows XP Professional SP3 32-bit
Intel Core 2 CPU 6300 @ 1.86GHz
4 GB of Ram.Don't laugh, my other Dell XP desktop computer is simple core! Laughing out loud
These 2 computers will retire after I receive and configure the HP computer:
HP Pavilion HPE h8 desktop PC - 1360t
Windows 7 Home Premium 64
3rd generation Intel Core i7-3770 to processor quad-core [3.4 GHz, 8 MB of shared cache]
10GB DDR3 1333 MHz SDRAM [3 DIMMS]
SATA 1 TB hard drive 7200 RPM.Do you think I'll note and difference? (I'm kidding) Laughing out loud
1. is there a procedure for the implementation of the new computer? I'll be the only one to use it.
2. I also want to do a recovery disk. Can I do this after having my computer account?
3. the computer come with Service Pack 1 installed?
HP Pavilion HPE h8 desktop PC - 1360t
Win 7 x 64 ~ ~ SP1, IE11 ~ ~ FF i7 3770 3.40 GHz ~ 10 GB Ram ~ NIS 2014Congratulations for the excellent choice.
1. is there a procedure for the implementation of the new computer? I'll be the only one to use it.
With your experience, you probably won't have a problem. I strongly support you haven't set a password on it.
You can always add a password later.
2. I also want to do a recovery disk. Can I do this after having my computer account?
Configuration of the computer and do what is required to complete the user account. It is advisable to only use DVD + R media. You will probably need 3-4 DVD + R and the usual CD - R disc repair system.
3. the computer come with Service Pack 1 installed? This date should be. There will be updates.
-
Hello everyone,
In my VI, I have a code that looks like this-
Each table is 2D size 512 by 640. The time it takes to run this whole chain is approximately 28miliseconds. Seems fast, but I need to cut it to about 10ms. I tried to make the tables 1 d, but saves only about 2 ms. I even tried to cut the table 1 d in half and duplicate the code and then combine them at the end (a half-hearted attempt at optimizing multi-core) and who showed zero improvement...
I guess my last option (please let me know if there are other options) is to compile a DLL that will do this for me.
I'm a bit confused on how I'm supposed to implement table multiplies in C, however.
What I do run for(;;) a loop and multiply each item one by one? It seems that that would be much slower than anything done LabView in-house to do this multiplication of cross-checking.
Thank you!!
MK
If you don't know how you would in C, I don't know why you think that move it to a DLL will make it faster. In C, you will need to either make operations sequentially in a loop for, as you mentioned, or find a library for parallelization of this operation. There is no built-in c function to multiply the tables.
One thing you might try in your LabVIEW code is to multiply it in a loop for, where you make an addition to each iteration and store the result in a shift register. Also remember the current power of the original array into a shift register. Which should reduce the number of copies of the table you need, which can speed up to turn the code. So, you initialize it the 'sum' with the first table shift register and the shift register current electric table with the result of the subtraction (or, Alternatively, with a table of the same size, filled with 1, according to the order in which you want to do things). Multiply this table by the first multiplier, add it to the sum, and multiply the power of the original (subtraction) table, storing to the power shift register. Repeat until you are finished.
-
I just bought a LG chromebase desktop computer and I need Windows what is the best way to get
I just buy it all in one computer and didn't know that it doesn't have windows. now I need to get windows but I can't afford windows 10 right now. can I get another program windows for it and how?
Hello
They are for
Operating system
Operating system Google Chrome http://www.TechRadar.com/au/reviews/PC-Mac/PC-Mac-desktops/LG-chromebase-1211679/review#
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
FOR INFO:
If you need to buy Windows for any other machine:
10 windows on the least expensive Windows operating system available, and is sold by Microsoft.
To buy other systems operating previous try amazon.com because they do not come for free.
And make sure your machine meets the system requirements for them and also the computer manufacturer provides support and drivers for the particular operating system.
See you soon.
-
Need some advice on the replacement laptop
Hi all
At the moment, I have a HP Pavilion DV6-6004sa with Beats audio. The specifications are:
Material
Dv6-6004sa product name
Product number LF047EA
Microprocessor clocked at 1.8 GHz AMD Phenom II Quad - Core P960
Cache 2 MB L2 cache of the microprocessor
6 GB of DDR3 memory
Max memory expandable to 8 GB of DDR3 memory
AMD Radeon HD 6470M (512 MB DDR3) graphics
39.6 cm (15.6 ") LED display high-definition HP BrightView (1366 x 768)
750 GB SATA (5400 RPM) hard drive
Multimedia drive LightScribe SuperMulti DVD±R/RW with Support Double layer
Network integrated 10/100/1000 Gigabit Ethernet LAN adapter
Bluetooth wireless connectivity wireless network card802.11 b/g/n
Beats audio system
Keyboard keyboard full size with integrated numeric keypad
Score TouchPad device supporting multi-touch gestures and power button
PC Card Slots multi Format Digital card reader for Secure Digital, Multimedia Card cards
External ports1 VGA PORT
1 HDMI
2 headphone
1 microphone input
2 USB 2.0
2 USB 3.0
1 RJ45
1 simple pass fingerprint readerSize 37.8 x 24,68 x 3.11 cm
Weight from 2.91 kg
Power 90W AC adapterLithium-Ion (Li-ion) 6 battery cells
What's in the box HP Webcam TrueVision HD with built-in digital Microphone (VGA low-light)HP will provide me with a replacement model that they are having some problems with my laptop...
Is there any Pavilion DV6 existing who has all the technical features... and or more?Are the new A6 AMD... better than the P960 APU?
I saw the HP Pavilion DV6 - b 6, 00 DV6 - 6 c 00... I don't see what is the difference between the b and c?
* I just noticed the b 6, 00 has only the APU A6-3410MX and only up to 640GO hard drives... then they will be out of the question, I guess.
The 6 c 00 has the A6-3430MX a little more powerful APU... and with 750 GB hard drives.Nothing more that I could not notice?
I think it comes closest analogues as replacement
HP Pavilion dv6-6c11sa Entertainment Notebook
Laptop HP Pavilion dv6-6c11sa (A8K05EA)
Because not many others have USB 3.0 ports, card reader, single pass drive, double graphic... etc.I don't know now what is the diffrence between an EA or SA at the end of the model number?
See you soon
and I thank you in advance.Ok... I was just asked the
Laptop HP Pavilion dv6-6b51ea (QG799EA)
http://WWW8.HP.com/UK/en/products/laptops/product-detail.html?OID=5180055
with these specifications and I agreed:
-
Advice on the best way to transfer information from the old laptop again.
Please could you offer me advice, I bought a new laptop and want to transfer everything from to the old laptop, any advice would be grateful. Thank you James
Please could you offer me advice, I bought a new laptop and want to transfer everything from to the old laptop, any advice would be grateful. Thank you James
Transfer files and settings from another computer
(This is a web link, click on it. There is even a video.)PS - you install your applications (office suites, alternative web browsers, customers of messaging, plugins, games, etc) manually using the installation media and you SHOULD do before using the Windows Easy Transfer Wizard.
-
Need some advice on the form element values?
Hi all
I have a problem with the site that I am developing. Its a site of e-commerce for a memorial Masons. For each product/memorial there are several elements, menu drop-down menus and text fields to retrieve the necessary information, there is also a 'total' who, as customers make their choices, the amount of each item is added to this total. My problem is, on the two elements "engraved_designs" and "sandblasted_designs", I need to calculate this amount, but also I need to get the code of the design chosen for back-office reference. I can't use the price and code in the "value" attribute, that you stop the calculation of work function. So, how am I to get the amount to be calculated at the same time as being able to recover the chosen code when you submit the form?
http://www.milesmemorials.com/product-GH54.html
It's exactly the same principle.
$engraved2 = explode (' #', $_POST ['engraved_designs2']);
And this, in the body of the email:
$email_body. = "engraved design: $engraved2 [1].» \n » ;
-
Need some advice about the VPN between local Cisco router and remote Watchguard
Hi all
I am configuring a Cisco 887 to VPN router to a device of watchguard at the remote site.
From what I understand, the VPN tunnel is in PLACE. I can ping to the remote server on the 192.168.110.0 of the network, but whenever I try to navigate to it on the local server, it wouldn't work.
I ping the remote server via the IP address on the local server, but not on the Cisco router. Is - will this work as expected?
--------------------------------------------------------------------------------------
R5Router #sh crypto isakmp his
IPv4 Crypto ISAKMP Security Association
DST CBC conn-State id
110.142.127.237 122.3.112.10 QM_IDLE 2045 ACTIVE
IPv6 Crypto ISAKMP Security Association
--------------------------------------------------------------------------------------
R5Router #sh encryption session
Current state of the session crypto
Interface: Virtual-Access2
The session state: down
Peer: 122.3.112.10 port 500
FLOW IPSEC: allowed ip 192.168.0.0/255.255.255.0 192.168.110.0/255.255.255.0
Active sAs: 0, origin: card crypto
FLOW IPSEC: allowed 1 192.168.0.0/255.255.255.0 192.168.110.0/255.255.255.0
Active sAs: 0, origin: card crypto
FLOW IPSEC: allowed 6 192.168.0.0/255.255.255.0 192.168.110.0/255.255.255.0
Active sAs: 0, origin: card crypto
FLOW IPSEC: allowed ip host 122.3.112.10 192.168.0.0/255.255.255.0
Active sAs: 0, origin: card crypto
Interface: Dialer0
The session state: UP-ACTIVE
Peer: 122.3.112.10 port 500
IKEv1 SA: local 110.142.127.237/500 remote 122.3.112.10/500 Active
FLOW IPSEC: allowed ip 192.168.0.0/255.255.255.0 192.168.110.0/255.255.255.0
Active sAs: 2, origin: card crypto
FLOW IPSEC: allowed 1 192.168.0.0/255.255.255.0 192.168.110.0/255.255.255.0
Active sAs: 0, origin: card crypto
FLOW IPSEC: allowed 6 192.168.0.0/255.255.255.0 192.168.110.0/255.255.255.0
Active sAs: 0, origin: card crypto
FLOW IPSEC: allowed ip host 122.3.112.10 192.168.0.0/255.255.255.0
Active sAs: 0, origin: card crypto
Crypto ACL 102, should really include only 1 line, that is to say:
10 permit ip 192.168.0.0 0.0.0.255 192.168.110.0 0.0.0.255
and you should have the image mirror on the remote end ACL line too.
PLS, remove the remaining lines on 102 ACL ACL.
I guess that the ACL 101 is NAT exemption, if it is pls include "deny ip 192.168.0.0 0.0.0.255 192.168.110.0 0.0.0.255" on top of your current line "license".
Clear the tunnels as well as the NAT translation table after the changes described above.
-
Hallo,
I create a page in which there are many 'af:form + af:table' groups (each group reads a VO istance).
I would like to know if, in my case, I use it to group the CIU, panelBoxes or panelHeaders, and which of them would be advised.
I would like that it is easy to install for all conatiners the same width.
In addition, I would like to only 2 groups are always visible while others should be no in a space (just a panelGroupLayout?) with a vertical scroll bar.
You could you kindly help me in achieving this layout?
Thank you
Federico
PanelBox can be reduced by the user, well, can't panelHeader.
As for scrolling, you can probably surround other sections with a panelGroupLayout and set layout = "scroll".
Dario
Maybe you are looking for
-
I read the article of Signatures in the help files and includes a signature HTML file, and it works fine but only on new messages. Nothing appears for forwarded messages or responses. How can I make it work on all types of outgoing mail?
-
How to partition an external hard drive Seagate
My old external HD Time Machine does not so I bought a 2 TB Seagate Backup more Portable Drive to replace it. It has been formatted for Windows but provided a configuration "NTFS_ Mac download for_ I ran. I'd like to partition the drive & use 1 TB fo
-
Hello I need to reset the bios password for my Compaq Mini 110, sn = CNU9367Z6Y. Thanks in advance.
-
I urgently need my webcam this week for a place of encounter of the celebrity, and I'm upset. I tried several measures then 15 and already spent a day on same; Please if anyone can help me through teamviewer; I'll give him some good buys online and o
-
How to use the OS Android and Windows on the same shelf?
Original title: is it possible I ca use the OS android and mircosoft OS?Is it possible that I can used both ANDROID OS and MICROSOFT OS at the same time in my Tablet?